Class AppException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoDatabaseException

public class AppException extends RuntimeException
This 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:
  • Constructor Details

    • AppException

      public AppException(String strMessage)
      Constructor 1
      Parameters:
      strMessage - The error message
    • AppException

      public AppException(String strMessage, Throwable t)
      Constructor 2
      Parameters:
      strMessage - The error message
      t - The initial throwable
    • AppException

      public AppException(String strMessage, Exception e)
      Constructor for backwards binary compatibility, same as AppException( String s, Throwable t )
      Parameters:
      strMessage - The error message
      e - The initial exception
    • AppException

      public AppException()
      Constructor 3
    • AppException

      public AppException(String strMessage, Throwable t, boolean enableSuppression, boolean writableStackTrace)
      Constructor 4
      Parameters:
      strMessage - The error message
      e - The initial exception
      enableSuppression - enableSuppresion
      writableStackTrace - writableStackTrace