org.oXML.type
Class ExceptionNode

java.lang.Object
  extended byorg.oXML.type.AbstractNode
      extended byorg.oXML.type.ExceptionNode
All Implemented Interfaces:
Node

public class ExceptionNode
extends AbstractNode

ObjectBox - o:XML compiler and interpreter for more information see http://www.o-xml.org/objectbox Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd email: martin at hack.org This class has been generated from an o:XML template


Field Summary
static Type TYPE
           
 
Fields inherited from class org.oXML.type.AbstractNode
me
 
Constructor Summary
ExceptionNode()
          generated constructor, called directly
ExceptionNode(AbstractNode me, Type type)
           
ExceptionNode(ExceptionNode other, boolean deep)
          generated constructor, called directly
ExceptionNode(Node message)
          generated constructor, called directly
ExceptionNode(Node message, Node nested)
          generated constructor, called directly
ExceptionNode(StringNode message)
          generated constructor, called directly
ExceptionNode(java.lang.String reason, Node nested, SourceLocator location)
           
 
Method Summary
 Node copy(boolean deep)
           
 java.lang.String getMessage()
          Get a description of this Exception, which is either the Exception reason or the string value of the nested exception.
 Node getNested()
           
 java.lang.String getReason()
           
 void init()
           
 void init(ExceptionNode other, boolean deep)
           
 void init(Node message)
           
 void init(Node message, Node nested)
           
 void init(StringNode message)
           
 Node location()
           
 Node message()
           
 Node nested()
           
 void setLocation(SourceLocator location)
           
 Node string()
           
 java.lang.String toString()
           
 
Methods inherited from class org.oXML.type.AbstractNode
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hashCode, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final Type TYPE
Constructor Detail

ExceptionNode

public ExceptionNode(AbstractNode me,
                     Type type)

ExceptionNode

public ExceptionNode(java.lang.String reason,
                     Node nested,
                     SourceLocator location)

ExceptionNode

public ExceptionNode(ExceptionNode other,
                     boolean deep)
generated constructor, called directly


ExceptionNode

public ExceptionNode()
generated constructor, called directly


ExceptionNode

public ExceptionNode(Node message)
generated constructor, called directly


ExceptionNode

public ExceptionNode(StringNode message)
generated constructor, called directly


ExceptionNode

public ExceptionNode(Node message,
                     Node nested)
generated constructor, called directly

Method Detail

setLocation

public void setLocation(SourceLocator location)

getMessage

public java.lang.String getMessage()
Get a description of this Exception, which is either the Exception reason or the string value of the nested exception.


getReason

public java.lang.String getReason()

getNested

public Node getNested()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractNode

init

public void init(ExceptionNode other,
                 boolean deep)

init

public void init()
Overrides:
init in class AbstractNode

init

public void init(Node message)

init

public void init(StringNode message)

init

public void init(Node message,
                 Node nested)

message

public Node message()

nested

public Node nested()

location

public Node location()

string

public Node string()

copy

public Node copy(boolean deep)