com.thoughtworks.proxy.toys.dispatch
Class DispatchingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thoughtworks.proxy.toys.dispatch.DispatchingException
- All Implemented Interfaces:
- Serializable
public class DispatchingException
- extends RuntimeException
An exception if a type cannot be dispatched.
- Since:
- 0.2
- Author:
- Jörg Schaible
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DispatchingException
public DispatchingException(String message,
Class<?> type)
- Construct a DispatchingException with the offending type.
- Parameters:
message
- the meaningful messagetype
- the type, that cannot be dispatched- Since:
- 0.2
getType
public Object getType()
- Returns the offending type.
- Returns:
- the type
- Since:
- 0.2
Copyright © 2005-2010 Codehaus. All Rights Reserved.