@AlfrescoPublicApi public class AlfrescoRuntimeException extends RuntimeException
Constructor and Description |
---|
AlfrescoRuntimeException(String msgId)
Constructor
|
AlfrescoRuntimeException(String msgId,
Object[] msgParams)
Constructor
|
AlfrescoRuntimeException(String msgId,
Object[] msgParams,
Throwable cause)
Constructor
|
AlfrescoRuntimeException(String msgId,
Throwable cause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static AlfrescoRuntimeException |
create(String msgId,
Object... objects)
Helper factory method making use of variable argument numbers
|
static AlfrescoRuntimeException |
create(Throwable cause,
String msgId,
Object... objects)
Helper factory method making use of variable argument numbers
|
String |
getMsgId() |
Object[] |
getMsgParams() |
String |
getNumericalId() |
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, toString
public AlfrescoRuntimeException(String msgId)
msgId
- the message idpublic AlfrescoRuntimeException(String msgId, Object[] msgParams)
msgId
- the message idmsgParams
- the message parameterspublic AlfrescoRuntimeException(String msgId, Throwable cause)
msgId
- the message idcause
- the exception causepublic static AlfrescoRuntimeException create(String msgId, Object... objects)
public static AlfrescoRuntimeException 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 String getNumericalId()
public Throwable getRootCause()
Copyright © 2005–2018 Alfresco Software. All rights reserved.