Object
Throwable
Exception
FactoryException
NoSuchIdentifierException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoSuchAuthorityCodeException
Thrown when an identifier provided to a factory method cannot be found.
The identifier is often provided by
Identifier.getCode()
.
Example: This exception is thrown when a math transform as been requested with an unknown operation method identifier.
- Since:
- 1.0
- See Also:
- Departure from OGC/ISO abstract specification:
Addition of element not in the ISO/OGC specification
This exception is not part of the OGC specification.
-
Constructor Summary
ConstructorDescriptionNoSuchIdentifierException
(String message, String identifier) Constructs an exception with the specified detail message and classification name. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchIdentifierException
Constructs an exception with the specified detail message and classification name.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.identifier
- The identifier code.
-
-
Method Details
-
getIdentifierCode
Returns the identifier code.- Returns:
- The identifier code.
-