|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tools.ant.BuildException
com.canoo.webtest.engine.WebTestException
com.canoo.webtest.engine.StepFailedException
public final class StepFailedException
| Constructor Summary | |
|---|---|
StepFailedException(String message)
|
|
StepFailedException(String message,
Exception cause)
|
|
StepFailedException(String message,
int expectedValue,
int actualValue)
|
|
StepFailedException(String message,
Step failedStep)
|
|
StepFailedException(String message,
String expectedValue,
String actualValue)
|
|
StepFailedException(String message,
String expectedValue,
String actualValue,
Step failedStep)
|
|
| Method Summary | |
|---|---|
static boolean |
isCausedByStepFailedException(Throwable e)
Indicates if the provided exception is caused by a StepFailedException. |
| Methods inherited from class com.canoo.webtest.engine.WebTestException |
|---|
addDetail, getDetails, getShortMessage, getUrlCurrentResponse, toString |
| Methods inherited from class org.apache.tools.ant.BuildException |
|---|
getCause, getException, getLocation, printStackTrace, printStackTrace, printStackTrace, setLocation |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StepFailedException(String message)
public StepFailedException(String message,
String expectedValue,
String actualValue,
Step failedStep)
public StepFailedException(String message,
int expectedValue,
int actualValue)
public StepFailedException(String message,
String expectedValue,
String actualValue)
public StepFailedException(String message,
Step failedStep)
public StepFailedException(String message,
Exception cause)
| Method Detail |
|---|
public static boolean isCausedByStepFailedException(Throwable e)
StepFailedException.
Even if StepFailedException extends BuildException in some cases
(for instance failed macro) the original StepFailedException is wrapped
within a BuildException.
e - the exception to analyze
true if the cause is a StepFailedException
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||