public class NoSuchAuthorityCodeException extends FactoryException
DatumAuthorityFactory
,
CRSAuthorityFactory
,
Serialized FormConstructor and Description |
---|
NoSuchAuthorityCodeException(String message,
String authority,
String code)
Constructs an exception with the specified detail message and authority code.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthority()
Returns the authority.
|
String |
getAuthorityCode()
Returns the invalid authority code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSuchAuthorityCodeException(String message, String authority, String code)
message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.authority
- The authority.code
- The invalid authority code.Copyright © 1996–2019 Geotools. All rights reserved.