org.jdtaus.core.container
Class DuplicatePropertyException

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

public class DuplicatePropertyException
extends IllegalArgumentException

Gets thrown for duplicate properties.

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

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

DuplicatePropertyException

public DuplicatePropertyException(String name)
Creates a new instance of DuplicatePropertyException taking the name of the duplicate property.

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

getName

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

Returns:
the name of the duplicate property or null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.