|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
RuntimeException
IllegalArgumentException
IllegalAttributeException
IllegalAttributeException
public class IllegalAttributeException
Indicates client class has attempted to create an invalid feature.
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 |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |