org.objectweb.jac.core.rtti
Class InvalidDelegateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.jac.core.rtti.InvalidDelegateException
- All Implemented Interfaces:
- Serializable
- public class InvalidDelegateException
- extends Exception
This exception is thrown when the user tries to construct a new
meta item that is not matching the
java.lang.reflect
element it delegates to.
- Author:
- Laurent Martelli
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidDelegateException
public InvalidDelegateException(Object delegate,
String message)
- Parameters:
delegate
- the delegate that caused the exceptionmessage
- a message explaining the error
getDelegate
public Object getDelegate()