|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.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, 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(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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||