Package org.opengis.util
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 can not be found. The identifier is often provided byIdentifier.getCode().Example: This exception is thrown when a math transform has been requested with an unknown operation method identifier.
- Since:
 - 1.0
 - See Also:
 MathTransformFactory.createParameterizedTransform(ParameterValueGroup), Serialized Form
 
- 
- 
Constructor Summary
Constructors Constructor Description NoSuchIdentifierException(String message, String identifier)Constructs an exception with the specified detail message and classification name. 
- 
Method Summary
Modifier and Type Method Description StringgetIdentifierCode()Returns the identifier code.- 
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
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 theThrowable.getMessage()method.identifier- the identifier code.
 
 - 
 
- 
Method Detail
- 
getIdentifierCode
public String getIdentifierCode()
Returns the identifier code.- Returns:
 - the identifier code.
 
 
 - 
 
 -