Class FactoryDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opengis.util.FactoryException
org.apache.sis.referencing.factory.FactoryDataException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LocalizationGridException
public class FactoryDataException
extends org.opengis.util.FactoryException
Thrown when a factory contains invalid data.
Example:
an EPSG database record containing a null value in a column where nulls should not have been allowed.
- Since:
- 0.7
- Version:
- 1.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct an exception with no detail message.FactoryDataException
(String message) Construct an exception with the specified detail message.FactoryDataException
(String message, Throwable cause) Construct an exception with the specified detail message and cause.FactoryDataException
(Throwable cause) Constructs an exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
FactoryDataException
public FactoryDataException()Construct an exception with no detail message. -
FactoryDataException
Construct an exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
FactoryDataException
Constructs an exception with the specified cause.- Parameters:
cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.- Since:
- 1.2
-
FactoryDataException
Construct an exception with the specified detail message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause for this exception, saved for later retrieval by theThrowable.getCause()
method.
-