Module org.apache.sis.referencing
Class MissingFactoryResourceException
Object
Throwable
Exception
FactoryException
MissingFactoryResourceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnavailableFactoryException
Thrown when a particular object cannot be created because a resource is missing.
The most common case is a NADCON or NTv2 datum shift operation requested while the
datum shift grids was not found in the
$SIS_DATA/DatumChanges
directory.
Relationship with other exceptions
This exception means that the factory failed to create a particular object. However, the factory may succeed in creating other objects. By contrast,UnavailableFactoryException
means that the whole factory cannot be used at all.
This exception is not for unimplemented operations (for example map projections not yet supported).
For unimplemented operation methods, use NoSuchIdentifierException
instead.
- Since:
- 0.7
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an exception with no detail message.MissingFactoryResourceException
(String message) Construct an exception with the specified detail message.MissingFactoryResourceException
(String message, Throwable cause) Construct an exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingFactoryResourceException
public MissingFactoryResourceException()Construct an exception with no detail message. -
MissingFactoryResourceException
Construct an exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
MissingFactoryResourceException
Construct an exception with the specified detail message and cause. The cause is the exception thrown in the underlying database (e.g.IOException
orSQLException
).- 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.
-