Package org.geotools.referencing.factory
Class FactoryNotFoundException
- Object
-
- Throwable
-
- Exception
-
- FactoryException
-
- FactoryNotFoundException
-
- All Implemented Interfaces:
Serializable
public class FactoryNotFoundException extends FactoryException
Thrown when a requested factory has not been found. This exception may be thrown byDeferredAuthorityFactory.createBackingStore()
.- Since:
- 2.3
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FactoryNotFoundException()
Construct an exception with no detail message.FactoryNotFoundException(Exception cause)
Construct an exception with the specified cause.FactoryNotFoundException(String message)
Construct an exception with the specified detail message.FactoryNotFoundException(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 Detail
-
FactoryNotFoundException
public FactoryNotFoundException()
Construct an exception with no detail message.
-
FactoryNotFoundException
public FactoryNotFoundException(String message)
Construct an exception with the specified detail message.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
FactoryNotFoundException
public FactoryNotFoundException(Exception cause)
Construct an exception with the specified cause. The detail message is copied from the cause localized message.- Parameters:
cause
- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()
method.
-
FactoryNotFoundException
public FactoryNotFoundException(String message, Throwable cause)
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. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- The cause for this exception. The cause is saved for later retrieval by theThrowable.getCause()
method.
-
-