public class ExceptionHelper extends Object
| Constructor and Description |
|---|
ExceptionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractMessage(Throwable e)
Extract the message from an exception
|
static String |
formatted(Throwable e)
Format exception as string
|
static String |
getMessage(Throwable e)
Get the message of the root cause
|
static Throwable |
getRootCause(Throwable e)
Get the root cause of an exception
|
public static Throwable getRootCause(Throwable e)
e - the exception to check, must not be nullnullpublic static String getMessage(Throwable e)
e - the exception from which the message should be extractedStatusHelper#extractMessage(Throwable)public static String extractMessage(Throwable e)
e - the exception to extract the message fromCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.