|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.util.Exceptions
public class Exceptions
Static utility methods for handling exceptions.
| Method Summary | |
|---|---|
static IllegalArgumentException |
toIllegalArgument(String msg,
Throwable t)
Convert the specified throwable to an illegal argument exception. |
static IOException |
toIO(String msg,
Throwable t)
Convert the specified throwable to an I/O exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IOException toIO(String msg,
Throwable t)
msg - Message to include in result's message.t - Throwable to use for message and stack trace.
public static IllegalArgumentException toIllegalArgument(String msg,
Throwable t)
msg - Message to include in result's message.t - Throwable to use for message and stack trace.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||