|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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(Class expected,
Class actual)
Instantiates with the specified types (classes or interfaces). |
|
IllegalClassException(String message)
Instantiates with the specified message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IllegalClassException(Class expected, Class actual)
Instantiates with the specified types (classes or interfaces).
expected
- the expected typeactual
- the actual typepublic IllegalClassException(String message)
Instantiates with the specified message.
message
- the exception message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |