|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.common.test.junit.ThrowableDecoder
public class ThrowableDecoder
| Constructor Summary | |
|---|---|
ThrowableDecoder()
|
|
| Method Summary | |
|---|---|
static DriverResponse |
decode(java.lang.Throwable t)
Decode a throwable into a suitable driver response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowableDecoder()
| Method Detail |
|---|
public static DriverResponse decode(java.lang.Throwable t)
Decode a throwable into a suitable driver response.
If the throwable or one of its causes are an instance of the class junit.framework.AssertionFailedError
then a org.jboss.portal.common.test.driver.response.FailureResponse is returned.
Otherwise an org.jboss.portal.common.test.driver.response.ErrorResponse object is built with the
throwable as argument and returned.
t - the throwable to decode.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||