|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.util.Exceptions
public final class Exceptions
This helper class contains some static methods for exception handling.
| Method Summary | |
|---|---|
static String |
getLocalizedMessage(Throwable ex)
Get localized message from exception. |
static String |
getMessage(Throwable ex)
Get message from exception. |
static Throwable |
getRootCause(Throwable ex)
Get the last root cause in a chain of exceptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Throwable getRootCause(Throwable ex)
ex - start of chain
public static String getMessage(Throwable ex)
ex - the exception
public static String getLocalizedMessage(Throwable ex)
ex - the exception
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||