public class NoSuchAuthorityCodeException extends NoSuchIdentifierException
CRSAuthorityFactory
,
CSAuthorityFactory
,
DatumAuthorityFactory
,
Serialized FormDeparture from OGC/ISO specification:
This exception is not part of the OGC specification.
Constructor and Description |
---|
NoSuchAuthorityCodeException(String message,
String authority,
String code)
Constructs an exception with the specified detail message and authority code.
|
NoSuchAuthorityCodeException(String message,
String authority,
String code,
String identifier)
Constructs an exception with the specified detail message, authority code and identifier.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthority()
Returns the authority.
|
String |
getAuthorityCode()
Returns the invalid authority code.
|
getIdentifierCode
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, saved for retrieval by the getAuthority()
method.code
- The invalid authority code, saved for retrieval by the getAuthorityCode()
method.public NoSuchAuthorityCodeException(String message, String authority, String code, String identifier)
authority:code
" will be used.message
- The detail message. The detail message is saved
for later retrieval by the Throwable.getMessage()
method.authority
- The authority, saved for retrieval by the getAuthority()
method.code
- The invalid authority code, saved for retrieval by the getAuthorityCode()
method.identifier
- The full identifier as a concatenation of the authority and the code,
saved for retrieval by the NoSuchIdentifierException.getIdentifierCode()
method.Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.