public class ResourceNotSupportedException extends Exception
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.
Constructor and Description |
---|
ResourceNotSupportedException()
Instantiates 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotSupportedException()
public ResourceNotSupportedException(String message)
message
- the messagepublic ResourceNotSupportedException(String message, Throwable throwable)
message
- the messagethrowable
- the throwablepublic ResourceNotSupportedException(Throwable throwable)
throwable
- the throwableThis work is licensed under a Creative Commons Attribution 4.0 International License.