org.slim3.commons.exception
Class CastRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.slim3.commons.exception.SRuntimeException
org.slim3.commons.exception.CastRuntimeException
- All Implemented Interfaces:
- Serializable
public class CastRuntimeException
- extends SRuntimeException
This exception is thrown when a class can not cast.
- Since:
- 3.0
- Author:
- higa
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CastRuntimeException
public CastRuntimeException(Class<?> srcClass,
Class<?> destClass)
- Constructor.
- Parameters:
srcClass
- the source classdestClass
- the destination class
getSrcClass
public Class<?> getSrcClass()
- Returns the source class.
- Returns:
- the source class
getDestClass
public Class<?> getDestClass()
- Returns the destination class.
- Returns:
- the destination class
Copyright © 2008-2009 The Slim3 project. All Rights Reserved.