Package org.opengis.util
Class NoSuchIdentifierException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opengis.util.FactoryException
org.opengis.util.NoSuchIdentifierException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoSuchAuthorityCodeException
Thrown when an identifier provided to a factory method can not 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
- Version:
- 3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The identifier code.private static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionNoSuchIdentifierException
(String message, String identifier) Constructs an exception with the specified detail message and classification name. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
identifier
The identifier code.
-
-
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.
-