public class RenderingspecificationException extends TypeRenderingException
Constructor and Description |
---|
RenderingspecificationException(String message,
URI renderingSpecification,
GraphNode renderNode,
GraphNode context)
Creates a
RenderingspecificationException with message,
scriptUri, and renderNode to be used in an GraphNode that
can be used to render an exception page. |
RenderingspecificationException(String message,
URI renderingSpecification,
int lineNumber,
int columnNumber,
GraphNode renderNode,
GraphNode context)
Creates a
RenderingspecificationException with message,
scriptUri, lineNumber, columnNumber and renderNode to be used in an
GraphNode that can be used to render an exception page. |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number on which the error is located in the rendering
specificiation.
|
String |
getComposedMessage()
Returns a message composed of the information about the occurred error.
|
GraphNode |
getExceptionGraphNode()
Returns a
GraphNode of the type typerendering:Exception
which contains all information used to render an exception page. |
int |
getLineNumber()
Returns the line number on which the error is located in the rendering
specificiation.
|
getContextNode, getRenderingSpecification, getRenderNode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RenderingspecificationException(String message, URI renderingSpecification, int lineNumber, int columnNumber, GraphNode renderNode, GraphNode context)
RenderingspecificationException
with message,
scriptUri, lineNumber, columnNumber and renderNode to be used in an
GraphNode
that can be used to render an exception page.message
- A message about the error that caused the exceptionrenderingSpecification
- The uri of the rendering specification
which contains error.lineNumber
- The line number on which the error is located in the
rendering specificiation.columnNumber
- The column number on which the error is located in the
rendering specificiation.renderNode
- The graph node which were given to the renderlet to
be rendered.public RenderingspecificationException(String message, URI renderingSpecification, GraphNode renderNode, GraphNode context)
RenderingspecificationException
with message,
scriptUri, and renderNode to be used in an GraphNode
that
can be used to render an exception page.message
- A message about the error that caused the exceptionrenderingSpecification
- The uri of the rendering specification
which contains error.renderNode
- The graph node which were given to the renderlet to
be rendered.public int getColumnNumber()
public int getLineNumber()
public String getComposedMessage()
public GraphNode getExceptionGraphNode()
TypeRenderingException
GraphNode
of the type typerendering:Exception
which contains all information used to render an exception page.
The node contains the following information: the line and column number
on which the error occurred in the rendering specification. The uri of
the rendering specification in which the error is. A message with details
about error.getExceptionGraphNode
in class TypeRenderingException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.