Class UnsupportedImplementationException

All Implemented Interfaces:
Serializable

public class UnsupportedImplementationException extends UnsupportedOperationException
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
See Also:
  • Constructor Details

    • UnsupportedImplementationException

      public UnsupportedImplementationException(String message)
      Constructs an exception with the specified detail message.
      Parameters:
      message - the detail message, or null if none.
    • UnsupportedImplementationException

      public UnsupportedImplementationException(Class<?> classe)
      Constructs an exception with an error message formatted for the specified class.
      Parameters:
      classe - the unexpected implementation class.
    • UnsupportedImplementationException

      public UnsupportedImplementationException(Class<?> classe, Exception cause)
      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, or null if none.