|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.org.bryanray.testtoys.util.ExceptionUtil
public class ExceptionUtil
| Constructor Summary | |
|---|---|
ExceptionUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.RuntimeException |
convertException(java.lang.Exception exception)
If the supplied exception is not a RuntimeException, the
exception is converted to a RuntimeException, otherwise the
exception is returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtil()
| Method Detail |
|---|
public static java.lang.RuntimeException convertException(java.lang.Exception exception)
RuntimeException, the
exception is converted to a RuntimeException, otherwise the
exception is returned.
exception - The exception to convert to a RuntimeException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||