|
||||||||||
| 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.exoplatform.social.common.ExoSocialException
public class ExoSocialException
The top exception class to handle exception for eXo Social.
Using this for displaying any error to user by using key for message bundle display; The exception message and cause for displaying more information.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 ExoSocialException(String msgKey)
msgKey - message key
public ExoSocialException(String msgKey,
String[] msgArgs)
msgKey - message keymsgArgs - message arguments
public ExoSocialException(String msgKey,
String msg)
msgKey - messageKeymsg - addition message (useful to developer).
public ExoSocialException(String msgKey,
Throwable cause)
msgKey - message keycause - the cause
public ExoSocialException(String msgKey,
String msg,
Throwable cause)
msgKey - message keymsg - the message which is useful for developers.cause - the cause
public 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 cause| Method Detail |
|---|
public 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 input
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||