org.geotools.feature
Class IllegalAttributeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.geotools.feature.IllegalAttributeException
All Implemented Interfaces:
java.io.Serializable

public class IllegalAttributeException
extends java.lang.Exception

Indicates client class has attempted to create an invalid feature.

See Also:
Serialized Form

Constructor Summary
IllegalAttributeException(AttributeType expected, java.lang.Object invalid)
          Constructor that makes the message given the expected and invalid.
IllegalAttributeException(AttributeType expected, java.lang.Object invalid, java.lang.Throwable cause)
          Constructor that makes the message given the expected and invalid, along with the root cause.
IllegalAttributeException(java.lang.String message)
          Constructor with message argument.
 
Method Summary
 java.lang.String 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)
Constructor with message argument.

Parameters:
message - Reason for the exception being thrown

IllegalAttributeException

public IllegalAttributeException(AttributeType expected,
                                 java.lang.Object invalid)
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(AttributeType expected,
                                 java.lang.Object invalid,
                                 java.lang.Throwable cause)
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.
Method Detail

toString

public java.lang.String toString()


Copyright © GeoTools. All Rights Reserved.