public class DelegationException extends RuntimeException
Constructor and Description |
---|
DelegationException(String message,
Throwable cause,
Object delegate)
Construct a DelegationException.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDelegate()
Returns the delegated object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DelegationException(String message, Throwable cause, Object delegate)
message
- the meaningful message.cause
- a causing Throwable
delegate
- the delegated objectpublic Object getDelegate()
Copyright © 2005–2023 Codehaus. All rights reserved.