org.geotools.feature
Class IllegalAttributeException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by IllegalArgumentException
                  extended by IllegalAttributeException
                      extended by IllegalAttributeException
All Implemented Interfaces:
Serializable

Deprecated. Please use org.opengis.feature.IllegalAttributeException

public class IllegalAttributeException
extends IllegalAttributeException

Indicates client class has attempted to create an invalid feature.

See Also:
Serialized Form
Module:

Constructor Summary
IllegalAttributeException(AttributeDescriptor expected, Object invalid)
          Deprecated. Constructor that makes the message given the expected and invalid.
IllegalAttributeException(AttributeDescriptor expected, Object invalid, Throwable cause)
          Deprecated. Constructor that makes the message given the expected and invalid, along with the root cause.
IllegalAttributeException(String message)
          Deprecated. Constructor with message argument.
 
Method Summary
 
Methods inherited from class IllegalAttributeException
getDescriptor, getValue, toString
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalAttributeException

public IllegalAttributeException(String message)
Deprecated. 
Constructor with message argument.

Parameters:
message - Reason for the exception being thrown

IllegalAttributeException

public IllegalAttributeException(AttributeDescriptor expected,
                                 Object invalid)
Deprecated. 
Constructor that makes the message given the expected and invalid.

Parameters:
expected - the expected AttributeType.
invalid - the attribute that does not validate against expected.

IllegalAttributeException

public IllegalAttributeException(AttributeDescriptor expected,
                                 Object invalid,
                                 Throwable cause)
Deprecated. 
Constructor that makes the message given the expected and invalid, along with the root cause.

Parameters:
expected - the expected AttributeType.
invalid - the attribute that does not validate against expected.
cause - the root cause of the error.


Copyright © 1996-2009 Geotools. All Rights Reserved.