Package de.uplanet.lucy.server.renderer
Enum IRenderer.ErrorMode
- java.lang.Object
-
- java.lang.Enum<IRenderer.ErrorMode>
-
- de.uplanet.lucy.server.renderer.IRenderer.ErrorMode
-
- All Implemented Interfaces:
Serializable
,Comparable<IRenderer.ErrorMode>
- Enclosing interface:
- IRenderer
public static enum IRenderer.ErrorMode extends Enum<IRenderer.ErrorMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description errorMsg
returns the given error Msg if a castable value with an unparseable format is rendered, and/or the value is uncastableerrorMsgOnCast
returns the given error Message if a not castable value shall be rendered, on a bad format or parse error an exception is thrownerrorMsgOnParse
returns the given error Msg if a castable value is rendered, but the value format can't be parsed, on uncastable values an Exception is thrownexceptionThrow
throws a RendererError Exception
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IRenderer.ErrorMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static IRenderer.ErrorMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
exceptionThrow
public static final IRenderer.ErrorMode exceptionThrow
throws a RendererError Exception
-
errorMsgOnCast
public static final IRenderer.ErrorMode errorMsgOnCast
returns the given error Message if a not castable value shall be rendered, on a bad format or parse error an exception is thrown
-
errorMsgOnParse
public static final IRenderer.ErrorMode errorMsgOnParse
returns the given error Msg if a castable value is rendered, but the value format can't be parsed, on uncastable values an Exception is thrown
-
errorMsg
public static final IRenderer.ErrorMode errorMsg
returns the given error Msg if a castable value with an unparseable format is rendered, and/or the value is uncastable
-
-
Method Detail
-
values
public static IRenderer.ErrorMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IRenderer.ErrorMode c : IRenderer.ErrorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IRenderer.ErrorMode 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 nameNullPointerException
- if the argument is null
-
-