public class ExoSocialException extends RuntimeException
| Constructor and Description |
|---|
ExoSocialException(String msgKey)
Only message key available.
|
ExoSocialException(String msgKey,
String msg)
messageKey and exception message is available.
|
ExoSocialException(String msgKey,
String[] msgArgs)
message key and messageArguments are available.
|
ExoSocialException(String msgKey,
String[] msgArgs,
String msg,
Throwable cause)
The message key with messageArguments, exception message and cause.
|
ExoSocialException(String msgKey,
String msg,
Throwable cause)
The message key with exception message and cause.
|
ExoSocialException(String msgKey,
Throwable cause)
The message key with exception message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDataInput()
Gets the date input, which is useful for developers.
|
String[] |
getMessageArguments()
Gets the message arguments.
|
String |
getMessageKey()
Gets the message key.
|
void |
setDataInput(String jsonDataInput)
Sets the json data input for displaying.
|
void |
setMessageArguments(String[] msgArgs)
Sets message arguments.
|
void |
setMessageKey(String msgKey)
Sets message key.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ExoSocialException(String msgKey)
msgKey - message keypublic ExoSocialException(String msgKey, String[] msgArgs)
msgKey - message keymsgArgs - message argumentspublic ExoSocialException(String msgKey, String msg)
msgKey - messageKeymsg - addition message (useful to developer).public ExoSocialException(String msgKey, Throwable cause)
msgKey - message keycause - the causepublic ExoSocialException(String msgKey, String msg, Throwable cause)
msgKey - message keymsg - the message which is useful for developers.cause - the causepublic ExoSocialException(String msgKey, String[] msgArgs, String msg, Throwable cause)
msgKey - message keymsgArgs - message argumentsmsg - message, the message is useful for developer Example: Node
not found.cause - the causepublic final String getMessageKey()
public final void setMessageKey(String msgKey)
msgKey - the messag keypublic final String[] getMessageArguments()
public final void setMessageArguments(String[] msgArgs)
msgArgs - the mesage argumentspublic final String getDataInput()
public final void setDataInput(String jsonDataInput)
jsonDataInput - the json data inputCopyright © 2003–2018 eXo Platform SAS. All rights reserved.