org.apache.batik.bridge
public class BridgeException extends RuntimeException
Field Summary | |
---|---|
protected String | code The error code. |
protected Element | e The element on which the error occured. |
protected int | line The line number on which the error occured. |
protected String | message
The message. |
protected GraphicsNode | node The graphics node that represents the current state of the GVT tree. |
protected Object[] | params The paramters to use for the error message. |
Constructor Summary | |
---|---|
BridgeException(BridgeContext ctx, LiveAttributeException ex)
Constructs a new BridgeException based on the specified
LiveAttributeException.
| |
BridgeException(BridgeContext ctx, Element e, String code, Object[] params)
Constructs a new BridgeException with the specified parameters.
| |
BridgeException(BridgeContext ctx, Element e, Exception ex, String code, Object[] params)
Constructs a new BridgeException with the specified parameters.
| |
BridgeException(BridgeContext ctx, Element e, String message)
Constructs a new BridgeException with the specified parameters.
|
Method Summary | |
---|---|
String | getCode()
Returns the exception's error code |
Element | getElement()
Returns the element on which the error occurred. |
GraphicsNode | getGraphicsNode()
Returns the graphics node that represents the current GVT tree built. |
String | getMessage()
Returns the error message according to the error code and parameters. |
void | setGraphicsNode(GraphicsNode node)
Sets the graphics node that represents the current GVT tree built.
|
Parameters: ctx the bridge context to use for determining the element's source position ex the {@link LiveAttributeException}
Parameters: ctx the bridge context to use for determining the element's source position e the element on which the error occurred code the error code params the parameters to use for the error message
Parameters: ctx the bridge context to use for determining the element's source position e the element on which the error occurred ex the exception which was the root-cause for this exception code the error code params the parameters to use for the error message
Parameters: ctx the bridge context to use for determining the element's source position e the element on which the error occurred message the error message
Parameters: node the graphics node