Class ExoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.exoplatform.commons.exception.ExoException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExoMessageException
public abstract class ExoException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExoException()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetErrorCode()abstract StringgetExceptionDescription()abstract StringgetMessage(ResourceBundle res)intgetSeverity()voidsetSeverity(int severity)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
FATAL
public static final int FATAL
- See Also:
- Constant Field Values
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
WARN
public static final int WARN
- See Also:
- Constant Field Values
-
INFO
public static final int INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSeverity
public int getSeverity()
-
setSeverity
public void setSeverity(int severity)
-
getMessage
public abstract String getMessage(ResourceBundle res)
-
getExceptionDescription
public abstract String getExceptionDescription()
-
getErrorCode
public abstract String getErrorCode()
-
-