org.geotools.referencing.wkt
Class UnformattableObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.UnsupportedOperationException
                  extended byorg.geotools.referencing.wkt.UnformattableObjectException
All Implemented Interfaces:
java.io.Serializable

public class UnformattableObjectException
extends java.lang.UnsupportedOperationException

Thrown by Formattable.toWKT() when an object can't be formatted as WKT. A formatting may fails because an object is too complex for the WKT format capability (for example an engineering CRS with different unit for each axis), or because only some specific implementations can be formatted as WKT.

Since:
2.0
Version:
$Id: UnformattableObjectException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
UnformattableObjectException(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

UnformattableObjectException

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

Parameters:
message - The detail message.


Copyright © GeoTools. All Rights Reserved.