org.jdtaus.core.container
Class DuplicateImplementationException

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

public class DuplicateImplementationException
extends IllegalArgumentException

Gets thrown for duplicate implementations.

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

Constructor Summary
DuplicateImplementationException(String identifier)
          Creates a new instance of DuplicateImplementationException taking the identifier of the duplicate implementation.
 
Method Summary
 String getIdentifier()
          Gets the identifier of the duplicate implementation.
 
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

DuplicateImplementationException

public DuplicateImplementationException(String identifier)
Creates a new instance of DuplicateImplementationException taking the identifier of the duplicate implementation.

Parameters:
identifier - the identifier of the duplicate implementation.
Method Detail

getIdentifier

public String getIdentifier()
Gets the identifier of the duplicate implementation.

Returns:
the identifier of the duplicate implementation or null.


Copyright © 2005-2009 jDTAUS. All Rights Reserved.