com.thoughtworks.proxy.toys.delegate
Class DelegationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thoughtworks.proxy.toys.delegate.DelegationException
- All Implemented Interfaces:
- Serializable
public class DelegationException
- extends RuntimeException
Exception thrown if a delegation from the proxy to the delegated object fails.
- Since:
- 0.1
- Author:
- Dan North
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DelegationException
public DelegationException(String message,
Throwable cause,
Object delegate)
- Construct a DelegationException.
- Parameters:
message
- the meaningful message.cause
- a causing Throwable
delegate
- the delegated object- Since:
- 0.1
getDelegate
public Object getDelegate()
- Returns the delegated object.
- Returns:
- the delegated object
- Since:
- 0.1
Copyright © 2005-2010 Codehaus. All Rights Reserved.