Package ddf.catalog.resource
Class ResourceNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ddf.catalog.resource.ResourceNotSupportedException
- All Implemented Interfaces:
Serializable
The ResourceNotSupportedException is thrown by a
ResourceReader or CatalogFramework when they do not support a Resource or ResourceRequest.
Common uses of this exception include when the ResourceRequest has an attribute name
or value not supported by the CatalogFramework or ResourceReader. Also, when the
resource URI has a scheme that the ResourceReader or CatalogFramework doesn't
support.
- Author:
- Michael Menousek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a resource not supported exception.ResourceNotSupportedException(String message) Instantiates a new resource not supported exception with the provided message.ResourceNotSupportedException(String message, Throwable throwable) Instantiates a new resource not supported exception with the provided message and throwable.ResourceNotSupportedException(Throwable throwable) Instantiates a new resource not supported exception with the provided throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceNotSupportedException
public ResourceNotSupportedException()Instantiates a resource not supported exception. -
ResourceNotSupportedException
Instantiates a new resource not supported exception with the provided message.- Parameters:
message- the message
-
ResourceNotSupportedException
Instantiates a new resource not supported exception with the provided message and throwable.- Parameters:
message- the messagethrowable- the throwable
-
ResourceNotSupportedException
Instantiates a new resource not supported exception with the provided throwable.- Parameters:
throwable- the throwable
-