|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--java.lang.IllegalArgumentException | +--org.apache.commons.lang.IllegalClassException
Thrown when an object is an instance of an unexpected type (a class or interface).
Constructor Summary | |
IllegalClassException(java.lang.Class expected,
java.lang.Class actual)
Instantiates with the specified types (classes or interfaces). |
|
IllegalClassException(java.lang.String message)
Instantiates with the specified message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IllegalClassException(java.lang.Class expected, java.lang.Class actual)
Instantiates with the specified types (classes or interfaces).
expected
- the expected typeactual
- the actual typepublic IllegalClassException(java.lang.String message)
Instantiates with the specified message.
message
- the exception message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |