org.fest.swing.exception
Class ActionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.