org.apache.batik.bridge
Class BridgeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.apache.batik.bridge.BridgeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IllegalAttributeValueException, MissingAttributeException

public class BridgeException
extends java.lang.RuntimeException

The root class from which exceptions thrown by the bridge shall be derived.

See Also:
Serialized Form

Field Summary
protected  GraphicsNode node
           
 
Constructor Summary
BridgeException(java.lang.String msg)
          Constructs a new BridgeException.
BridgeException(java.lang.String msg, GraphicsNode node)
          Constructs a new BridgeException.
 
Method Summary
 GraphicsNode getGraphicsNode()
          Returns the graphics node on which the error occured.
 
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

node

protected GraphicsNode node
Constructor Detail

BridgeException

public BridgeException(java.lang.String msg)
Constructs a new BridgeException.
Parameters:
msg - the exception message

BridgeException

public BridgeException(java.lang.String msg,
                       GraphicsNode node)
Constructs a new BridgeException.
Parameters:
msg - the exception message
node - the graphics node on which the error occured
Method Detail

getGraphicsNode

public GraphicsNode getGraphicsNode()
Returns the graphics node on which the error occured.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.