class: WrongEnumException

public class: WrongEnumException
Author: Johannes Mueller (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:14:24; Modified: 16.07.2009 15:14:24;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {7095B6EE-6D3F-48df-A8E2-C73539109E84}
This exception occurs whenever an unknown enumeration value is read from an XML file. This may occur both while marshalling and while unmarshalling. The member variable <i>enumString</i> contains the String that caused the Exception.
 

Goto: Custom Properties, Fields, Methods

Extends: TransformingException

See also: TransformingException

Appears in: exceptions

Connections
 
Custom Properties
 
WrongEnumException Attributes
Attribute Details
private String
  enumString
Notes: The name of the Enum or the name of the XML value that caused the exception.
 
WrongEnumException Methods
Operation Details
public
getEnumString():String
Sequential
Notes: Delivers the name of the Enum or the name of the XML value that caused the exception.
@return The name of the Enum or the name of the XML value that caused the exception
public
WrongEnumException(
   String msg):
Sequential
Notes: Constructor forwarding the given name of the Enum/name of the XML value to the upper exception chain. Stores the name of the Enum/name of the XML value in the according member variable.
public
WrongEnumException(
   String msg,
   Throwable cause):
Sequential
Notes: Constructor forwarding the given name of the Enum/name of the XML value and the cause to the upper exception chain. Stores the name of the Enum/name of the XML value in the according member variable.