Class ApplicationError
java.lang.Object
java.lang.Throwable
java.lang.Error
de.uni_trier.wi2.procake.utils.exception.ApplicationError
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionApplicationError
(String message, String... parameter) ApplicationError
(String message, Throwable cause, String... parameter) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApplicationError
- Parameters:
message
- An exception description.
-
ApplicationError
- Parameters:
message
- An exception description.cause
- The cause of the exception.
-