|
|||||||||
| 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.IncompatibleImplementationException
public class IncompatibleImplementationException
Gets thrown for implementation incompatibilities.
An Implementation is required to implement and to depend on a
specification version compatible with the version in use. This exception
gets thrown for any implementation implementing or depending on a
specification version incompatible with the version in use.
Specification.getVersion(),
Implementation.getImplementedSpecifications(),
Serialized Form| Constructor Summary | |
|---|---|
IncompatibleImplementationException(String specificationIdentifier,
String specifiedVersion,
String implementationIdentifier,
String implementedVersion,
String requiredVersion)
Creates a new IncompatibleImplementationException instance
taking the implementation not implementing the specification version in
use or depending on a specification version incompatible to the
version in use. |
|
| Method Summary | |
|---|---|
String |
getImplementationIdentifier()
Gets the identifier of the implementation not implementing the specification version in use. |
String |
getImplementedVersion()
Gets the implemented version of the specification in use. |
String |
getRequiredVersion()
Gets the required version of the specification in use. |
String |
getSpecificationIdentifier()
Gets the identifier of the specification. |
String |
getSpecifiedVersion()
Gets the version of the specification in use. |
| 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 IncompatibleImplementationException(String specificationIdentifier,
String specifiedVersion,
String implementationIdentifier,
String implementedVersion,
String requiredVersion)
IncompatibleImplementationException instance
taking the implementation not implementing the specification version in
use or depending on a specification version incompatible to the
version in use.
specificationIdentifier - the identifier of the specification.specifiedVersion - the version of the specification in use.implementationIdentifier - the identifier of the implementation
incompatible to specifiedVersion.implementedVersion - the version implemented or null if
the implementation does not implement the specification.requiredVersion - the version the implementation depends on or
null if the implementation does not depend on the specification.| Method Detail |
|---|
public String getImplementationIdentifier()
public String getImplementedVersion()
null if the implementation does not implement the specification.public String getRequiredVersion()
null if the
implementation does not depend on the specification.public String getSpecificationIdentifier()
public String getSpecifiedVersion()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||