org.gvsig.fmap.geom.type
Class GeometryTypeNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gvsig.tools.exception.BaseException
              extended by org.gvsig.fmap.geom.GeometryException
                  extended by org.gvsig.fmap.geom.type.GeometryTypeNotSupportedException
All Implemented Interfaces:
Serializable, IBaseException

public class GeometryTypeNotSupportedException
extends GeometryException

This exception is raised when the someone tries to access a geometry type that is not supported.

Author:
jiyarza
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gvsig.tools.exception.BaseException
code, formatString, messageKey
 
Constructor Summary
GeometryTypeNotSupportedException(Class geomClass)
          Constructor with some context data for cases in which the root cause of this is internal (usually an unsatisfied logic rule).
GeometryTypeNotSupportedException(Class geomClass, Exception e)
          Main constructor that provides both context data and a cause Exception
GeometryTypeNotSupportedException(Exception e)
          Constructor to use when this is caused by another Exception but there is not further context data available.
GeometryTypeNotSupportedException(int type, int subType)
           
GeometryTypeNotSupportedException(String geomClassName)
           
 
Method Summary
 
Methods inherited from class org.gvsig.tools.exception.BaseException
getCode, getFormatString, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, iterator, setCode, setFormatString, setMessageKey, setTranslator, setTranslator, setValue, values
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

GeometryTypeNotSupportedException

public GeometryTypeNotSupportedException(Class geomClass)
Constructor with some context data for cases in which the root cause of this is internal (usually an unsatisfied logic rule).

Parameters:
geomClass - geometry class

GeometryTypeNotSupportedException

public GeometryTypeNotSupportedException(Exception e)
Constructor to use when this is caused by another Exception but there is not further context data available.

Parameters:
e - cause exception

GeometryTypeNotSupportedException

public GeometryTypeNotSupportedException(int type,
                                         int subType)

GeometryTypeNotSupportedException

public GeometryTypeNotSupportedException(String geomClassName)

GeometryTypeNotSupportedException

public GeometryTypeNotSupportedException(Class geomClass,
                                         Exception e)
Main constructor that provides both context data and a cause Exception

Parameters:
geomClass - geometry class
e - cause exception


Copyright © 2004-2012 gvSIG. All Rights Reserved.