Package fr.formiko.usuel.exceptions
Class ClassTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.formiko.usuel.exceptions.ClassTypeException
- All Implemented Interfaces:
Serializable
exceptions class for an unexpected class type.
- Author:
- Hydrolien
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionClassTypeException(String supposedClass, String realClass)
Constructs a new runtime exception with a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClassTypeException
Constructs a new runtime exception with a detail message.- Parameters:
supposedClass
- Name of the class that program should have.realClass
- Name of the class that program have.
-