Module org.apache.sis.referencing
Class FactoryDataException
Object
Throwable
Exception
FactoryException
FactoryDataException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LocalizationGridException
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
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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.
-