|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.util.RuntimeExceptionPair
public final class RuntimeExceptionPair
A pairing of a checked exception and its runtime wrapper. This is used for basic testing of runtime wrapper exceptions.
| Constructor Summary | |
|---|---|
RuntimeExceptionPair(Exception checked,
RuntimeException runtime)
Constructs a new runtime exception pair. |
|
| Method Summary | |
|---|---|
Exception |
checked()
Returns the checked exception that is wrapped. |
RuntimeException |
runtime()
Returns the wrapping runtime exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeExceptionPair(Exception checked,
RuntimeException runtime)
checked - The checked that is wrapped.runtime - The wrapping runtime exception.| Method Detail |
|---|
public Exception checked()
public RuntimeException runtime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||