Class NoSuchIdentifierException

Object
Throwable
Exception
FactoryException
NoSuchIdentifierException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoSuchAuthorityCodeException

public class NoSuchIdentifierException extends FactoryException
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 Details

    • NoSuchIdentifierException

      public NoSuchIdentifierException(String message, String identifier)
      Constructs an exception with the specified detail message and classification name.
      Parameters:
      message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
      identifier - the identifier code.
  • Method Details

    • getIdentifierCode

      public String getIdentifierCode()
      Returns the identifier code.
      Returns:
      the identifier code.