Class ApplicationError

java.lang.Object
java.lang.Throwable
java.lang.Error
de.uni_trier.wi2.procake.utils.exception.ApplicationError
All Implemented Interfaces:
Serializable

public class ApplicationError extends Error
An ApplicationError should be thrown for fatal application errors, e.g., OutOfMemoryError . Such errors are not necessary to specify in the "throws" part of a message declaration. For example, errors in constructors must be thrown as an error.

The exceptions are not logged automatically. To log an CakeException the exception has to be caught and logged manually. For further information have a look at Error.

Author:
Rainer Maximini
See Also:
  • Constructor Details

    • ApplicationError

      public ApplicationError(String message, String... parameter)
      Parameters:
      message - An exception description.
    • ApplicationError

      public ApplicationError(String message, Throwable cause, String... parameter)
      Parameters:
      message - An exception description.
      cause - The cause of the exception.