
public class IncompatibleImplementationException extends IllegalStateException
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 and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.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()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.