Class AppException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- fr.paris.lutece.portal.service.util.AppException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NoDatabaseException
public class AppException extends java.lang.RuntimeExceptionThis kind of exception is thrown when the application encounters a critical problem. This class extends RuntimeException in order to avoid try/catch blocks This class forces to write to the logs immediatly to protect against swallowing exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppException()Constructor 3AppException(java.lang.String strMessage)Constructor 1AppException(java.lang.String strMessage, java.lang.Exception e)Constructor for backwards binary compatibility, same as AppException( String s, Throwable t )AppException(java.lang.String strMessage, java.lang.Throwable t)Constructor 2AppException(java.lang.String strMessage, java.lang.Throwable t, boolean enableSuppression, boolean writableStackTrace)Constructor 4
-
-
-
Constructor Detail
-
AppException
public AppException(java.lang.String strMessage)
Constructor 1- Parameters:
strMessage- The error message
-
AppException
public AppException(java.lang.String strMessage, java.lang.Throwable t)Constructor 2- Parameters:
strMessage- The error messaget- The initial throwable
-
AppException
public AppException(java.lang.String strMessage, java.lang.Exception e)Constructor for backwards binary compatibility, same as AppException( String s, Throwable t )- Parameters:
strMessage- The error messagee- The initial exception
-
AppException
public AppException()
Constructor 3
-
AppException
public AppException(java.lang.String strMessage, java.lang.Throwable t, boolean enableSuppression, boolean writableStackTrace)Constructor 4- Parameters:
strMessage- The error messagee- The initial exceptionenableSuppression- enableSuppresionwritableStackTrace- writableStackTrace
-
-