@StableApi public class GytheioRuntimeException extends RuntimeException
| Constructor and Description |
|---|
GytheioRuntimeException(String msgId)
Constructor
|
GytheioRuntimeException(String msgId,
Object[] msgParams)
Constructor
|
GytheioRuntimeException(String msgId,
Object[] msgParams,
Throwable cause)
Constructor
|
GytheioRuntimeException(String msgId,
Throwable cause)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static GytheioRuntimeException |
create(String msgId,
Object... objects)
Helper factory method making use of variable argument numbers
|
static GytheioRuntimeException |
create(Throwable cause,
String msgId,
Object... objects)
Helper factory method making use of variable argument numbers
|
String |
getMsgId() |
Object[] |
getMsgParams() |
Throwable |
getRootCause()
Get the root cause.
|
static RuntimeException |
makeRuntimeException(Throwable e,
String msgId,
Object... objects)
Utility to convert a general Throwable to a RuntimeException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GytheioRuntimeException(String msgId)
msgId - the message idpublic GytheioRuntimeException(String msgId, Object[] msgParams)
msgId - the message idmsgParams - the message parameterspublic GytheioRuntimeException(String msgId, Throwable cause)
msgId - the message idcause - the exception causepublic static GytheioRuntimeException create(String msgId, Object... objects)
public static GytheioRuntimeException create(Throwable cause, String msgId, Object... objects)
public static RuntimeException makeRuntimeException(Throwable e, String msgId, Object... objects)
create(Throwable, String, Object...)public String getMsgId()
public Object[] getMsgParams()
public Throwable getRootCause()
Copyright © 2017 Alfresco Software. All rights reserved.