Class ExoMessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.exoplatform.commons.exception.ExoException
-
- org.exoplatform.commons.exception.ExoMessageException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UniqueObjectException
public class ExoMessageException extends ExoException
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.exoplatform.commons.exception.ExoException
ERROR, FATAL, INFO, WARN
-
-
Constructor Summary
Constructors Constructor Description ExoMessageException(String messageKey)ExoMessageException(String messageKey, Object[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getArguments()StringgetErrorCode()StringgetExceptionDescription()StringgetMessage(ResourceBundle res)StringgetMessageKey()-
Methods inherited from class org.exoplatform.commons.exception.ExoException
getSeverity, setSeverity
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessageKey
public String getMessageKey()
-
getArguments
public Object[] getArguments()
-
getMessage
public String getMessage(ResourceBundle res)
- Specified by:
getMessagein classExoException
-
getExceptionDescription
public String getExceptionDescription()
- Specified by:
getExceptionDescriptionin classExoException
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCodein classExoException
-
-