de.uplanet.lucy.server.renderer
Enum IRenderer.ErrorMode

java.lang.Object
  extended by java.lang.Enum<IRenderer.ErrorMode>
      extended by de.uplanet.lucy.server.renderer.IRenderer.ErrorMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IRenderer.ErrorMode>
Enclosing interface:
IRenderer

public static enum IRenderer.ErrorMode
extends java.lang.Enum<IRenderer.ErrorMode>


Enum Constant Summary
errorMsg
          returns the given error Msg if a castable value with an unparseable format is rendered, and/or the value is uncastable
errorMsgOnCast
          returns the given error Msg if a uncastable value shall be rendered, on a bad format or parse error an exception is thrown
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
exceptionThrow
          throws a RendererError Exception
 
Method Summary
static IRenderer.ErrorMode valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 Msg if a uncastable 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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.