org.apache.batik.bridge
Class BuilderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.apache.batik.bridge.BuilderException
All Implemented Interfaces:
java.io.Serializable

public class BuilderException
extends java.lang.RuntimeException

Thrown when the GVTBuilder has encountered an error.

See Also:
Serialized Form

Field Summary
protected  Element element
           
protected  GraphicsNode root
           
 
Constructor Summary
BuilderException(Element e, java.lang.String msg)
          Constructs a new BuilderException.
 
Method Summary
 Element getElement()
          Returns the element responsible on the error.
 GraphicsNode getRootGraphicsNode()
          Returns the root graphics node built.
 void setRootGraphicsNode(GraphicsNode root)
          Sets the current state of the GVT tree.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

element

protected Element element

root

protected GraphicsNode root
Constructor Detail

BuilderException

public BuilderException(Element e,
                        java.lang.String msg)
Constructs a new BuilderException.
Parameters:
msg - the exception message
e - the element on which the error occured
Method Detail

getElement

public Element getElement()
Returns the element responsible on the error.

getRootGraphicsNode

public GraphicsNode getRootGraphicsNode()
Returns the root graphics node built.

setRootGraphicsNode

public void setRootGraphicsNode(GraphicsNode root)
Sets the current state of the GVT tree.
Parameters:
root - the root graphics node


Copyright © 2000 Apache Software Foundation. All Rights Reserved.