Package org.geotools.util
Class UnsupportedImplementationException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- UnsupportedOperationException
-
- UnsupportedImplementationException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedImplementationException extends UnsupportedOperationException
Throws when an operation can't use arbitrary implementation of an interface, and a given instance doesn't meet the requirement. For example this exception may be thrown when an operation requires a Geotools implementation of a GeoAPI interface.- Since:
- 2.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedImplementationException(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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedImplementationException
public UnsupportedImplementationException(String message)
Constructs an exception with the specified detail message.- Parameters:
message
- The detail message.
-
UnsupportedImplementationException
public UnsupportedImplementationException(Class<?> classe)
Constructs an exception with an error message formatted for the specified class.- Parameters:
classe
- The unexpected implementation class.
-
-