public class IllegalAttributeException extends IllegalAttributeException
Constructor and Description |
---|
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.
|
getDescriptor, getValue, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IllegalAttributeException(String message)
message
- Reason for the exception being thrownpublic IllegalAttributeException(AttributeDescriptor expected, Object invalid)
expected
- the expected AttributeType.invalid
- the attribute that does not validate against expected.public IllegalAttributeException(AttributeDescriptor expected, Object invalid, Throwable cause)
expected
- the expected AttributeType.invalid
- the attribute that does not validate against expected.cause
- the root cause of the error.Copyright © 1996–2019 Geotools. All rights reserved.