org.geotools.feature
Class IllegalAttributeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.opengis.feature.IllegalAttributeException
                      extended by org.geotools.feature.IllegalAttributeException
All Implemented Interfaces:
java.io.Serializable

Deprecated. Please use org.opengis.feature.IllegalAttributeException

public class IllegalAttributeException
extends org.opengis.feature.IllegalAttributeException

Indicates client class has attempted to create an invalid feature.

See Also:
Serialized Form

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

Constructor Detail

IllegalAttributeException

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

Parameters:
message - Reason for the exception being thrown

IllegalAttributeException

public IllegalAttributeException(org.opengis.feature.type.AttributeDescriptor expected,
                                 java.lang.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(org.opengis.feature.type.AttributeDescriptor expected,
                                 java.lang.Object invalid,
                                 java.lang.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-2010 Geotools. All Rights Reserved.