org.opengis.util
Class NoSuchEnumerationException

Show UML class diagram
Object
  extended by Throwable
      extended by Exception
          extended by NoSuchEnumerationException
All Implemented Interfaces:
Serializable

Deprecated. Not used.

@Deprecated
public class NoSuchEnumerationException
extends Exception

Exception that is thrown when an invalid enumeration lookup is performed in the SimpleEnumerationType class.

Since:
GeoAPI 1.0
See Also:
Serialized Form

Constructor Summary
NoSuchEnumerationException(int value)
          Deprecated. Constructs an exception with the given invalid value.
 
Method Summary
 int getValue()
          Deprecated. Returns the invalid value.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchEnumerationException

public NoSuchEnumerationException(int value)
Deprecated. 
Constructs an exception with the given invalid value.

Parameters:
value - The invalid value.
TODO:
Localize the error message.
Method Detail

getValue

public int getValue()
Deprecated. 
Returns the invalid value.



Copyright © 1994-2010 Open Geospatial Consortium. All Rights Reserved.