org.springframework.webflow.engine
Class ActionExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.webflow.core.FlowException
                      extended by org.springframework.webflow.execution.FlowExecutionException
                          extended by org.springframework.webflow.engine.ActionExecutionException
All Implemented Interfaces:
java.io.Serializable

public class ActionExecutionException
extends FlowExecutionException

Thrown if an unhandled exception occurs when an action is executed. Typically wraps another exception noting the root cause failure. The root cause may be checked or unchecked.

Author:
Keith Donald, Erwin Vervaet
See Also:
Action, ActionState, Serialized Form

Constructor Summary
ActionExecutionException(java.lang.String flowId, java.lang.String stateId, Action action, AttributeMap executionAttributes, java.lang.String message, java.lang.Throwable cause)
          Create a new action execution exception.
ActionExecutionException(java.lang.String flowId, java.lang.String stateId, Action action, AttributeMap executionAttributes, java.lang.Throwable cause)
          Create a new action execution exception.
 
Method Summary
 
Methods inherited from class org.springframework.webflow.execution.FlowExecutionException
getFlowId, getStateId
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

ActionExecutionException

public ActionExecutionException(java.lang.String flowId,
                                java.lang.String stateId,
                                Action action,
                                AttributeMap executionAttributes,
                                java.lang.Throwable cause)
Create a new action execution exception.

Parameters:
flowId - the current flow
stateId - the current state (may be null)
action - the action that generated an unrecoverable exception
executionAttributes - action execution properties that may have contributed to this failure
cause - the underlying cause

ActionExecutionException

public ActionExecutionException(java.lang.String flowId,
                                java.lang.String stateId,
                                Action action,
                                AttributeMap executionAttributes,
                                java.lang.String message,
                                java.lang.Throwable cause)
Create a new action execution exception.

Parameters:
flowId - the current flow
stateId - the current state (may be null)
action - the action that generated an unrecoverable exception
executionAttributes - action execution properties that may have contributed to this failure
message - a descriptive message
cause - the underlying cause


Copyright © 2004-2007. All Rights Reserved.