org.fest.swing.exception
Class ActionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.fest.swing.exception.ActionFailedException
All Implemented Interfaces:
Serializable

public class ActionFailedException
extends RuntimeException

Understands an error occurred when simulation of user input fails.

Author:
Yvonne Wang
See Also:
Serialized Form

Method Summary
static ActionFailedException actionFailure(String message)
          Creates a new ActionFailedException.
static ActionFailedException actionFailure(String message, Throwable cause)
          Creates a new ActionFailedException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

actionFailure

public static ActionFailedException actionFailure(String message)
Creates a new ActionFailedException.

Parameters:
message - the detail message.
Returns:
the created exception.

actionFailure

public static ActionFailedException actionFailure(String message,
                                                  Throwable cause)
Creates a new ActionFailedException.

Parameters:
message - the detail message.
cause - the cause of the error.
Returns:
the created exception.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.