org.geotools.feature
Class IllegalAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.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
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 |
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.
toString
public java.lang.String toString()
Copyright © GeoTools. All Rights Reserved.