de.espirit.firstspirit.ui.gadgets
Enum ComponentConstructionException.Level

java.lang.Object
  extended by java.lang.Enum<ComponentConstructionException.Level>
      extended by de.espirit.firstspirit.ui.gadgets.ComponentConstructionException.Level
All Implemented Interfaces:
Serializable, Comparable<ComponentConstructionException.Level>
Enclosing class:
ComponentConstructionException

public static enum ComponentConstructionException.Level
extends Enum<ComponentConstructionException.Level>

Error levels, an exception can have.

Since:
4.2.405

Enum Constant Summary
ERROR
          A major problem occurred when constructing a component, so the editor could not be created.
INFO
          The exception is for information only.
WARN
          The exception is to warn about a problem in construction.
 
Method Summary
static ComponentConstructionException.Level valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComponentConstructionException.Level[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final ComponentConstructionException.Level INFO
The exception is for information only.

Since:
4.2.405

WARN

public static final ComponentConstructionException.Level WARN
The exception is to warn about a problem in construction.

Since:
4.2.405

ERROR

public static final ComponentConstructionException.Level ERROR
A major problem occurred when constructing a component, so the editor could not be created.

Since:
4.2.405
Method Detail

values

public static final ComponentConstructionException.Level[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ComponentConstructionException.Level c : ComponentConstructionException.Level.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ComponentConstructionException.Level valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


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