Package org.geotools.api.referencing
Class NoSuchAuthorityCodeException
- Object
-
- Throwable
-
- Exception
-
- FactoryException
-
- NoSuchAuthorityCodeException
-
- All Implemented Interfaces:
Serializable
public class NoSuchAuthorityCodeException extends FactoryException
Thrown when an authority factory can't find the requested authority code.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
DatumAuthorityFactory
,CRSAuthorityFactory
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchAuthorityCodeException(String message, String authority, String code)
Constructs an exception with the specified detail message and authority code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthority()
Returns the authority.String
getAuthorityCode()
Returns the invalid authority code.-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchAuthorityCodeException
public NoSuchAuthorityCodeException(String message, String authority, String code)
Constructs an exception with the specified detail message and authority code.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.authority
- The authority.code
- The invalid authority code.
-
-