com.primix.tapestry.util
Class DynamicInvocationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.primix.tapestry.util.DynamicInvocationException
All Implemented Interfaces:
java.io.Serializable

public class DynamicInvocationException
extends java.lang.RuntimeException

An exception raised when a dynamic invocation fails with some form of exception. This exception is a RuntimeException (which prevents anyone from having to declare it) ... it should only get raised as a result of programmer error. This exception is raised 'on behalf' of a more fundamental exception, which is packaged inside the DynamicInvocationException. This root cause exception may or may not be a runtime exception.

Version:
$Id: DynamicInvocationException.java,v 1.4 2001/05/02 14:15:16 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
DynamicInvocationException(java.lang.String message)
           
DynamicInvocationException(java.lang.String message, java.lang.Throwable rootCause)
          A variation used when there is some message to describe the context in which the exception was raised.
DynamicInvocationException(java.lang.Throwable rootCause)
          The basic constructor takes some other exception (that is, a Throwable) and packages it.
 
Method Summary
 java.lang.Throwable getRootCause()
          Allows access to the originally thrown Exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicInvocationException

public DynamicInvocationException(java.lang.String message)

DynamicInvocationException

public DynamicInvocationException(java.lang.String message,
                                  java.lang.Throwable rootCause)
A variation used when there is some message to describe the context in which the exception was raised.

DynamicInvocationException

public DynamicInvocationException(java.lang.Throwable rootCause)
The basic constructor takes some other exception (that is, a Throwable) and packages it. The new DynamicInvocationException can then be thrown.
Parameters:
rootCause - The original exception thrown.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Allows access to the originally thrown Exception.