|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.jdtaus.core.container.PropertyOverwriteConstraintException
public class PropertyOverwriteConstraintException
Gets thrown for property overwrite constraint violations.
A Dependency is allowed to provide values for any properties
declared for its specification only if the specification applies to scope
SCOPE_MULTITON. An implementation must provide values for all
properties declared for its implemented specifications. This exception gets
thrown for any violations to these restrictions.
Implementation.getProperties(),
Dependency.getProperties(),
Serialized Form| Constructor Summary | |
|---|---|
PropertyOverwriteConstraintException(String implementationIdentifier,
String dependencyName)
Creates a new PropertyOverwriteConstraintException instance
taking the identifier of an implementation defining a dependency
providing property values although the specification does not apply to
the multiton scope. |
|
PropertyOverwriteConstraintException(String implementationIdentifier,
String specificationIdentifier,
String propertyName)
Creates a new PropertyOverwriteConstraintException instance
taking the identifier of an implementation not implementing a
specification property together with information regarding the
unimplemented property. |
|
| Method Summary | |
|---|---|
String |
getDependencyName()
Gets the name of the dependency defined for the implementation identified by the value of property implementationIdentifier violating the
constraint. |
String |
getImplementationIdentifier()
Gets the identifier of the implementation defining a dependency violating the constraint. |
String |
getPropertyName()
Gets the name of the property not implemented by the implementation. |
String |
getSpecificationIdentifier()
Gets the identifier of the specification defining a property not implemented by the 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 |
|---|
public PropertyOverwriteConstraintException(String implementationIdentifier,
String dependencyName)
PropertyOverwriteConstraintException instance
taking the identifier of an implementation defining a dependency
providing property values although the specification does not apply to
the multiton scope.
implementationIdentifier - identifier of the implementation defining
a dependency violating the constraint.dependencyName - name of the dependency defined for the
implementation identified by implementationIdentifier violating
the constraint.
public PropertyOverwriteConstraintException(String implementationIdentifier,
String specificationIdentifier,
String propertyName)
PropertyOverwriteConstraintException instance
taking the identifier of an implementation not implementing a
specification property together with information regarding the
unimplemented property.
implementationIdentifier - identifier of the implementation not
implementing a specification property.specificationIdentifier - identifier of the specification an
implementation does not implement a property of.propertyName - name of the unimplemented property.| Method Detail |
|---|
public String getDependencyName()
implementationIdentifier violating the
constraint.
implementationIdentifier violating the
constraint or null.public String getImplementationIdentifier()
public String getPropertyName()
null.public String getSpecificationIdentifier()
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||