|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
public class AlfrescoRuntimeException
I18n'ed runtime exception thrown by Alfresco code.
Constructor Summary | |
---|---|
AlfrescoRuntimeException(java.lang.String msgId)
Constructor |
|
AlfrescoRuntimeException(java.lang.String msgId,
java.lang.Object[] msgParams)
Constructor |
|
AlfrescoRuntimeException(java.lang.String msgId,
java.lang.Object[] msgParams,
java.lang.Throwable cause)
Constructor |
|
AlfrescoRuntimeException(java.lang.String msgId,
java.lang.Throwable cause)
Constructor |
Method Summary | |
---|---|
static AlfrescoRuntimeException |
create(java.lang.String msgId,
java.lang.Object[] objects)
Helper factory method making use of variable argument numbers |
static AlfrescoRuntimeException |
create(java.lang.Throwable cause,
java.lang.String msgId,
java.lang.Object[] objects)
Helper factory method making use of variable argument numbers |
java.lang.String |
getMsgId()
|
java.lang.Object[] |
getMsgParams()
|
static java.lang.RuntimeException |
makeRuntimeException(java.lang.Throwable e,
java.lang.String msgId,
java.lang.Object[] objects)
Utility to convert a general Throwable to a RuntimeException. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlfrescoRuntimeException(java.lang.String msgId)
msgId
- the message idpublic AlfrescoRuntimeException(java.lang.String msgId, java.lang.Object[] msgParams)
msgId
- the message idmsgParams
- the message parameterspublic AlfrescoRuntimeException(java.lang.String msgId, java.lang.Throwable cause)
msgId
- the message idcause
- the exception causepublic AlfrescoRuntimeException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)
msgId
- the message idmsgParams
- the message parameterscause
- the exception causeMethod Detail |
---|
public static AlfrescoRuntimeException create(java.lang.String msgId, java.lang.Object[] objects)
public static AlfrescoRuntimeException create(java.lang.Throwable cause, java.lang.String msgId, java.lang.Object[] objects)
public static java.lang.RuntimeException makeRuntimeException(java.lang.Throwable e, java.lang.String msgId, java.lang.Object[] objects)
AlfrescoRuntimeException.create(Throwable, String, Object...)
public java.lang.String getMsgId()
public java.lang.Object[] getMsgParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |