Package org.geotools.api.feature
Class BackingStoreException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- BackingStoreException
-
- All Implemented Interfaces:
Serializable
public class BackingStoreException extends RuntimeException
Thrown to indicate that aFeatureCollection
operation could not complete because of a failure in the backing store, or a failure to contact the backing store. At the difference ofFeatureStoreException
, this exception is unchecked in order to allows its usage with the Java collection framework. This exception usually have anIOException
or aSQLException
as its cause. The cause may also be aTransformException
if the feature collection performs reprojection on the fly.- Since:
- GeoAPI 2.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackingStoreException()
Constructs 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 Detail
-
BackingStoreException
public BackingStoreException()
Constructs a new exception with no detail message.
-
BackingStoreException
public BackingStoreException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
BackingStoreException
public BackingStoreException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-
BackingStoreException
public BackingStoreException(String message, Throwable cause)
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.
-
-