org.jdtaus.core.container
Class DuplicateDependencyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byorg.jdtaus.core.container.DuplicateDependencyException
All Implemented Interfaces:
Serializable

public class DuplicateDependencyException
extends IllegalArgumentException

Gets thrown for duplicate dependencies.

Version:
$Id: DuplicateDependencyException.java 1914 2007-03-01 02:20:44Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
DuplicateDependencyException(String name)
          Creates a new instance of taking the name of the duplicate dependency.
 
Method Summary
 String getName()
          Gets the name of the duplicate dependency.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateDependencyException

public DuplicateDependencyException(String name)
Creates a new instance of taking the name of the duplicate dependency.

Parameters:
name - the name of the duplicate dependency.
Method Detail

getName

public String getName()
Gets the name of the duplicate dependency.

Returns:
the name of the duplicate dependency or .


Copyright © 2005-2007 jDTAUS. All Rights Reserved.