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 may be provided by
IdentifiedObject.getName()
.
In the common case where the identifier is an "authority:code" pair,
the NoSuchAuthorityCodeException
specialization should be used.
Example: This exception is thrown when a math transform has been requested with an unknown operation method name.
- Since:
- 1.0
- See Also:
-
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, saved for later retrieval by theThrowable.getMessage()
method.identifier
- the identifier code.
-
-
Method Details
-
getIdentifierCode
Returns the identifier code.- Returns:
- the identifier code.
-