org.jdtaus.core.container
Class InheritanceConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.jdtaus.core.container.InheritanceConstraintException
- All Implemented Interfaces:
- Serializable
public class InheritanceConstraintException
- extends IllegalStateException
Gets thrown for inheritance constraint violations.
An Implementation is only allowed to be the parent of another
implementation if the value of property final is false.
This exception gets thrown for any implementation violating this
constraint.
- Version:
- $Id: InheritanceConstraintException.java 8044 2009-07-02 01:29:05Z schulte2005 $
- Author:
- Christian Schulte
- See Also:
Implementation.getParent(),
Implementation.isFinal(),
Serialized Form
|
Constructor Summary |
InheritanceConstraintException(String implementationIdentifier)
Creates a new InheritanceConstraintException instance
taking the identifier of the implementation violating the constraint. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InheritanceConstraintException
public InheritanceConstraintException(String implementationIdentifier)
- Creates a new
InheritanceConstraintException instance
taking the identifier of the implementation violating the constraint.
- Parameters:
implementationIdentifier - identifier of the implementation
violating the constraint.
getImplementationIdentifier
public String getImplementationIdentifier()
- Gets the identifier of the implementation violating the constraint.
- Returns:
- identifier of the implementation violating the constraint.
Copyright © 2005-2009 jDTAUS. All Rights Reserved.