Package org.opengis.feature
Class FeatureOperationException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- FeatureOperationException
-
- All Implemented Interfaces:
Serializable
public class FeatureOperationException extends RuntimeException
Thrown whenOperation.apply(…)is invoked but the operation can not complete. The operation can fail for a variety of reasons including but not limited to:- I/O or SQL error while fetching data,
- failure to apply a map projection on a geometric property.
- Since:
- 3.1
- See Also:
Operation.apply(Feature, ParameterValueGroup), Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureOperationException()Creates an exception with no message.FeatureOperationException(String message)Creates an exception with the specified message.FeatureOperationException(String message, Throwable cause)Creates an exception with the specified message and cause.
-
Method Summary
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FeatureOperationException
public FeatureOperationException()
Creates an exception with no message.
-
FeatureOperationException
public FeatureOperationException(String message)
Creates an exception with the specified message.- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.
-
FeatureOperationException
public FeatureOperationException(String message, Throwable cause)
Creates an exception with the specified 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.
-
-