net.dpml.lang
Class TypeCastException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ClassCastException
net.dpml.lang.TypeCastException
- All Implemented Interfaces:
- Serializable
public class TypeCastException
- extends ClassCastException
Exception raised when class cannot be cast to a requested type.
- Version:
- 2.0.0
- Author:
- Digital Product Management Laboratory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TypeCastException
public TypeCastException(String message,
Class base,
Class type)
- Construct a new
TypeCastException
instance.
- Parameters:
message
- the messagebase
- the base class against which a failed cast was attemptedtype
- the class used as the cast criteria
getBase
public Class getBase()
getType
public Class getType()
getReport
public String getReport()