Package org.geotools.api.feature
Class BackingStoreException
Object
Throwable
Exception
RuntimeException
BackingStoreException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a
FeatureCollection
operation could not complete because of a failure in the backing
store, or a failure to contact the backing store. This exception is unchecked in order to allows its usage with the
Java collection framework. This exception usually have an IOException
or a SQLException
as its
cause. The cause may also be a
TransformException
if the feature collection performs reprojection on
the fly.- Since:
- GeoAPI 2.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with no detail message.BackingStoreException
(String message) Constructs a new exception with the specified detail message.BackingStoreException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.BackingStoreException
(Throwable cause) Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackingStoreException
public BackingStoreException()Constructs a new exception with no detail message. -
BackingStoreException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
BackingStoreException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-
BackingStoreException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-