Package org.apache.sis.util
Class UnsupportedImplementationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.sis.util.UnsupportedImplementationException
- All Implemented Interfaces:
Serializable
Thrown when an operation cannot use arbitrary implementation of an interface,
and a given instance does not met the requirement. For example, this exception
may be thrown when an operation requires an Apache SIS implementation of a
GeoAPI interface.
- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedImplementationException
(Class<?> classe) Constructs an exception with an error message formatted for the specified class.UnsupportedImplementationException
(Class<?> classe, Exception cause) Constructs an exception with an error message formatted for the specified class and a cause.UnsupportedImplementationException
(String message) Constructs an exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
UnsupportedImplementationException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message, ornull
if none.
-
UnsupportedImplementationException
Constructs an exception with an error message formatted for the specified class.- Parameters:
classe
- the unexpected implementation class.
-
UnsupportedImplementationException
Constructs an exception with an error message formatted for the specified class and a cause.- Parameters:
classe
- the unexpected implementation class.cause
- the cause for the exception, ornull
if none.
-