Class NoSuchAuthorityFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opengis.util.FactoryException
org.opengis.util.NoSuchIdentifierException
org.opengis.referencing.NoSuchAuthorityCodeException
org.apache.sis.referencing.factory.NoSuchAuthorityFactoryException
- All Implemented Interfaces:
Serializable
public class NoSuchAuthorityFactoryException
extends org.opengis.referencing.NoSuchAuthorityCodeException
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
- Version:
- 0.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionNoSuchAuthorityFactoryException
(String message, String authority) Constructs an exception with the specified detail message and authority name. -
Method Summary
Methods inherited from class org.opengis.referencing.NoSuchAuthorityCodeException
getAuthority, getAuthorityCode
Methods inherited from class org.opengis.util.NoSuchIdentifierException
getIdentifierCode
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:
-
-
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.
-