public class WroRuntimeException extends RuntimeException
| Constructor and Description |
|---|
WroRuntimeException(String message) |
WroRuntimeException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
WroRuntimeException |
logError()
Logs the error of this exception.
|
static WroRuntimeException |
wrap(Exception e)
Wraps original exception into
WroRuntimeException and throw it. |
static WroRuntimeException |
wrap(Exception e,
String message)
Wraps original exception into
WroRuntimeException and throw it. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WroRuntimeException(String message, Throwable cause)
message - cause - public WroRuntimeException(String message)
message - public WroRuntimeException logError()
public static WroRuntimeException wrap(Exception e)
WroRuntimeException and throw it.e - the exception to wrap.public static WroRuntimeException wrap(Exception e, String message)
WroRuntimeException and throw it.e - the exception to wrap.message - the message of the exception to wrap.Copyright © 2008-2013. All Rights Reserved.