public class ExceptionHandling
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandling() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getExceptionAsString(java.lang.Exception exception)
Returns an exception as string.
|
static java.lang.String |
getFirstTextLineOfException(java.lang.Exception exception)
Returns the first line of an exception.
|
public static java.lang.String getFirstTextLineOfException(java.lang.Exception exception)
exception
- the exceptionpublic static java.lang.String getExceptionAsString(java.lang.Exception exception)
exception
- the exception