Class ComponentConstructionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.espirit.firstspirit.ui.gadgets.ComponentConstructionException
- All Implemented Interfaces:
Serializable
Exception to notify about a problem occuring during construction of a component.
The exception is given a level to inform about the severeness of the problem and is treated by the Gadget-Framework accordingly.
- Since:
- 4.2.405
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Error levels, an exception can have. -
Constructor Summary
ConstructorDescriptionComponentConstructionException
(ComponentConstructionException.Level level, String message) Construct the exception with a message.ComponentConstructionException
(ComponentConstructionException.Level level, String message, Throwable cause) Construct the exception with a message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ComponentConstructionException
Construct the exception with a message.- Parameters:
level
- The error level of this exception.message
- The message.- Since:
- 4.2.405
-
ComponentConstructionException
public ComponentConstructionException(ComponentConstructionException.Level level, String message, Throwable cause) Construct the exception with a message and cause.- Parameters:
level
- The error level of this exception.message
- The message.cause
- The initial cause.- Since:
- 4.2.405
-
-
Method Details
-
getLevel
Get the level of this exception.- Returns:
- The exception's level.
- Since:
- 4.2.405
-