public class FactoryException extends Exception
If the failure is caused by an illegal authority code, then the actual exception should
be NoSuchAuthorityCodeException. Otherwise, if the failure
is caused by some error in the underlying database (e.g. IOException or
SQLException), then the cause shall be specified to the constructor.
CoordinateOperationFactory,
Serialized FormDeparture from OGC/ISO specification:
This exception is not part of the OGC specification.
| Constructor and Description |
|---|
FactoryException()
Construct an exception with no detail message.
|
FactoryException(String message)
Constructs an exception with the specified detail message.
|
FactoryException(String message,
Throwable cause)
Constructs an exception with the specified detail message and cause.
|
FactoryException(Throwable cause)
Constructs an exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FactoryException()
public FactoryException(String message)
message - The detail message. The detail message is saved
for later retrieval by the Throwable.getMessage() method.public FactoryException(Throwable cause)
cause - The cause for this exception. The cause is saved
for later retrieval by the Throwable.getCause() method.public FactoryException(String message, Throwable cause)
IOException or SQLException).message - The detail message. The detail message is saved
for later retrieval by the Throwable.getMessage() method.cause - The cause for this exception. The cause is saved
for later retrieval by the Throwable.getCause() method.Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.