com.plumtree.openfoundation.reflect
Class XPInvocationTargetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.plumtree.openfoundation.util.XPException
                  extended bycom.plumtree.openfoundation.reflect.XPInvocationTargetException
All Implemented Interfaces:
java.io.Serializable

public class XPInvocationTargetException
extends XPException

A checked exception that wraps an exception thrown by an invoked method or constructor.

Author:
djc
See Also:
Serialized Form

Constructor Summary
XPInvocationTargetException()
          Constructs a new XPInvocationTargetException objecy.
XPInvocationTargetException(java.lang.String message)
          Constructs a XPInvocationTargetException object with the specified detail message.
XPInvocationTargetException(java.lang.String message, java.lang.Throwable e)
          Constructs a XPInvocationTargetException object with the specified detail message and cause.
XPInvocationTargetException(java.lang.Throwable e)
          Constructs a XPInvocationTargetException object with the cause.
 
Method Summary
 XPException GetCauseException()
          Wrap the cause as a new XPException object.
 java.lang.Throwable GetInnerException()
          Return the the underlying Throwable object.
 
Methods inherited from class com.plumtree.openfoundation.util.XPException
exceptionToString, ExceptionToString, GetInstance, GetInstance, getMessage, GetMessage, GetStackTrace, printStackTrace, PrintStackTrace, printStackTrace, ToString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPInvocationTargetException

public XPInvocationTargetException()
Constructs a new XPInvocationTargetException objecy.


XPInvocationTargetException

public XPInvocationTargetException(java.lang.String message)
Constructs a XPInvocationTargetException object with the specified detail message.

Parameters:
message - the detail message

XPInvocationTargetException

public XPInvocationTargetException(java.lang.Throwable e)
Constructs a XPInvocationTargetException object with the cause.

Parameters:
e - - the cause (which is saved for later retrieval by the getCause() method).

XPInvocationTargetException

public XPInvocationTargetException(java.lang.String message,
                                   java.lang.Throwable e)
Constructs a XPInvocationTargetException object with the specified detail message and cause.

Parameters:
message - the detail message
e - - the cause (which is saved for later retrieval by the getCause() method).
Method Detail

GetCauseException

public XPException GetCauseException()
Wrap the cause as a new XPException object.

Returns:
a XPException object

GetInnerException

public java.lang.Throwable GetInnerException()
Return the the underlying Throwable object.

Overrides:
GetInnerException in class XPException
Returns:
the underlying Throwable object


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.