de.espirit.firstspirit.ui.gadgets
Class ComponentConstructionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.espirit.firstspirit.ui.gadgets.ComponentConstructionException
All Implemented Interfaces:
Serializable

public class ComponentConstructionException
extends RuntimeException

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:
Serialized Form

Nested Class Summary
static class ComponentConstructionException.Level
          Error levels, an exception can have.
 
Constructor Summary
ComponentConstructionException(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
 ComponentConstructionException.Level getLevel()
          Get the level of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentConstructionException

public ComponentConstructionException(ComponentConstructionException.Level level,
                                      String message)
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 Detail

getLevel

public ComponentConstructionException.Level getLevel()
Get the level of this exception.

Returns:
The exception's level.
Since:
4.2.405


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480