org.jdtaus.core.container
Class DuplicateDependencyException

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

public class DuplicateDependencyException
extends IllegalArgumentException

Gets thrown for duplicate dependencies.

Version:
$Id: DuplicateDependencyException.java 8044 2009-07-02 01:29:05Z schulte2005 $
Author:
Christian Schulte
See Also:
Serialized Form

Constructor Summary
DuplicateDependencyException(String name)
          Creates a new instance of DuplicateDependencyException 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 DuplicateDependencyException 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 null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.