public class TagException extends WindwardException implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ANCHOR_NOT_FOUND
A chart could not find the matching forEach tag with the anchor variable.
|
static int |
BAD_BITMAP
The cdata bitmap is bad.
|
static int |
BAD_FILE
The specified file's contents were bad.
|
static int |
BAD_HTML
Parse error on html data.
|
static int |
CHART_PROVIDER_NOT_LOADED
The tag attempted to access a ChartProvider member on a null ChartProvider instance.
|
static int |
CHART_TYPE_NOT_IN_CHARTML
The tag specified a graph-type attribute that was not found in the chartml.
|
static int |
ILLEGAL_ATTRIBUTE_NAME
Attribute var or varStatus has a ${} around it.
|
static int |
ILLEGAL_FILE_TYPE
The included file had an unrecognized extension.
|
static int |
ILLEGAL_LOCATION
A matrix, row, or column tag is in an illegal location.
|
static int |
IN_TABLE
This tag cannot be inside a table.
|
static int |
MISSING_END_FOREACH
There was a forEach with no end.
|
static int |
MISSING_END_IF
There was a if with no end.
|
static int |
MISSING_END_LINK
There was a link with no end.
|
static int |
MISSING_END_SWITCH
There was a link with no end.
|
static int |
MISSING_FILE
The specified included file could not be found.
|
static int |
MULTIPLE_NODE_VALUES
More than 1 node attribute was defined.
|
static int |
NESTED_LINK
Nested link
|
static int |
NO_NODE_VALUE
There was no node for the tag - a value is required.
|
static int |
NOT_SELF_CONTAINED
Command is not self contained.
|
static int |
SELF_CONTAINED
Command is self contained.
|
static int |
UNEXPECTED_CASE
There was a case not inside a switch.
|
static int |
UNEXPECTED_ELSE
There was an else with no matching if before it.
|
static int |
UNEXPECTED_END_FOREACH
There was an end with no matching forEach before it.
|
static int |
UNEXPECTED_END_IF
There was an end with no matching if before it.
|
static int |
UNEXPECTED_END_LINK
There was an end with no matching link before it.
|
static int |
UNEXPECTED_END_SWITCH
There was an end with no matching link before it.
|
static int |
UNKNOWN_TAG
Unknown tag.
|
static int |
WRONG_ATTRIBUTES
Missing or extra attributes.
|
Constructor and Description |
---|
TagException(int type,
BaseTag tag)
Create a TagException object.
|
TagException(int type,
int level,
BaseTag tag)
Create a TagException object.
|
TagException(int type,
int level,
java.lang.String txt,
BaseTag tag,
java.lang.Throwable cause)
Creates a TagException object by appending txt to the cause's message.
|
TagException(int type,
java.lang.String txt,
BaseTag tag)
Create a TagException object.
|
TagException(int type,
java.lang.String txt,
BaseTag tag,
java.lang.Throwable cause)
Create a TagException object.
|
TagException(TagException src,
java.lang.String txt) |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
BaseTag |
getTag()
Get the tag hitting the exception.
|
int |
getType()
Return the type of node exception.
|
getDocPos, getFullTag, setDocPos, setFullTag
public static final int BAD_BITMAP
public static final int BAD_FILE
public static final int BAD_HTML
public static final int ILLEGAL_ATTRIBUTE_NAME
public static final int ILLEGAL_FILE_TYPE
public static final int MISSING_END_FOREACH
public static final int MISSING_END_IF
public static final int MISSING_END_LINK
public static final int MISSING_END_SWITCH
public static final int MISSING_FILE
public static final int NESTED_LINK
public static final int NOT_SELF_CONTAINED
public static final int SELF_CONTAINED
public static final int UNEXPECTED_ELSE
public static final int UNEXPECTED_END_FOREACH
public static final int UNEXPECTED_END_IF
public static final int UNEXPECTED_END_LINK
public static final int UNEXPECTED_END_SWITCH
public static final int UNEXPECTED_CASE
public static final int UNKNOWN_TAG
public static final int WRONG_ATTRIBUTES
public static final int IN_TABLE
public static final int NO_NODE_VALUE
public static final int MULTIPLE_NODE_VALUES
public static final int ILLEGAL_LOCATION
public static final int CHART_TYPE_NOT_IN_CHARTML
public static final int CHART_PROVIDER_NOT_LOADED
public static final int ANCHOR_NOT_FOUND
public TagException(int type, BaseTag tag)
type
- One of the static int's in this class.tag
- The tag hitting the exception. If a missing end tag, the tag missing the end.public TagException(int type, java.lang.String txt, BaseTag tag)
type
- One of the static int's in this class.txt
- Information about the exception.tag
- The tag hitting the exception. If a missing end tag, the tag missing the end. May be null.public TagException(int type, java.lang.String txt, BaseTag tag, java.lang.Throwable cause)
type
- One of the static int's in this class.txt
- Information about the exception.tag
- The tag hitting the exception. If a missing end tag, the tag missing the end.cause
- The exception that caused this. Can be null.public TagException(int type, int level, java.lang.String txt, BaseTag tag, java.lang.Throwable cause)
type
- one of the static int's in this class.level
- number of txt
- information about the exception.tag
- the tag hitting the exception. If a missing end tag, the tag missing the end.cause
- an exception to get the base message from.public TagException(TagException src, java.lang.String txt)
public TagException(int type, int level, BaseTag tag)
type
- One of the static int's in this class.level
- The number of missing end's.tag
- The tag hitting the exception. If a missing end tag, the tag missing the end.public BaseTag getTag()
public int getType()
public int getLevel()
Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software