|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.shared.utils.testhelpers.ExceptionHelper
public class ExceptionHelper
| Constructor Summary | |
|---|---|
ExceptionHelper()
|
|
| Method Summary | |
|---|---|
static org.hamcrest.Matcher<Throwable> |
hasCause(Class<? extends Throwable> cause)
A matcher that verifies that the a root cause of an exception is of the specified type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionHelper()
| Method Detail |
|---|
public static org.hamcrest.Matcher<Throwable> hasCause(Class<? extends Throwable> cause)
cause - the type of exception that caused this.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||