org.geotools.util
Class UnsupportedImplementationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.UnsupportedOperationException
                  extended byorg.geotools.util.UnsupportedImplementationException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedImplementationException
extends java.lang.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
Version:
$Id: UnsupportedImplementationException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
UnsupportedImplementationException(java.lang.Class classe)
          Constructs an exception with an error message formatted for the specified class.
UnsupportedImplementationException(java.lang.Class classe, java.lang.Exception cause)
          Constructs an exception with an error message formatted for the specified class and a cause.
UnsupportedImplementationException(java.lang.String message)
          Constructs an exception with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedImplementationException

public UnsupportedImplementationException(java.lang.String message)
Constructs an exception with the specified detail message.

Parameters:
message - The detail message.

UnsupportedImplementationException

public UnsupportedImplementationException(java.lang.Class classe)
Constructs an exception with an error message formatted for the specified class.

Parameters:
classe - The unexpected implementation class.

UnsupportedImplementationException

public UnsupportedImplementationException(java.lang.Class classe,
                                          java.lang.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.


Copyright © GeoTools. All Rights Reserved.