Module org.apache.sis.referencing
Class NoSuchAuthorityFactoryException
Object
Throwable
Exception
FactoryException
NoSuchIdentifierException
NoSuchAuthorityCodeException
NoSuchAuthorityFactoryException
- All Implemented Interfaces:
Serializable
Thrown when no factory has been found for a given authority name.
This exception is a little bit more specific than
NoSuchAuthorityCodeException
since it means that in a code like "FOO:456"
, the unrecognized part was "FOO"
.- Since:
- 0.7
- See Also:
-
Constructor Summary
ConstructorDescriptionNoSuchAuthorityFactoryException
(String message, String authority) Constructs an exception with the specified detail message and authority name. -
Method Summary
Methods inherited from class NoSuchAuthorityCodeException
getAuthority, getAuthorityCode
Methods inherited from class NoSuchIdentifierException
getIdentifierCode
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchAuthorityFactoryException
Constructs an exception with the specified detail message and authority name.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.authority
- the authority, saved for retrieval by theNoSuchAuthorityCodeException.getAuthority()
method.
-