org.jdtaus.core.container
Class DuplicateArgumentException

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.DuplicateArgumentException
All Implemented Interfaces:
Serializable

public class DuplicateArgumentException
extends IllegalArgumentException

Gets thrown for duplicate arguments.

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

Constructor Summary
DuplicateArgumentException(String name)
          Creates a new instance of DuplicateArgumentException taking the name of the duplicate argument.
 
Method Summary
 String getName()
          Gets the name of the duplicate argument.
 
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

DuplicateArgumentException

public DuplicateArgumentException(String name)
Creates a new instance of DuplicateArgumentException taking the name of the duplicate argument.

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

getName

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

Returns:
the name of the duplicate argument or null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.