public class ReferenceException
extends java.text.ParseException
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
ref
A string representation of a character or numerical reference (e.g.,
Δ or a9;)
|
| Constructor and Description |
|---|
ReferenceException(java.lang.String ref,
java.lang.String msg,
int errorOffset)
Constructor for the ReferenceException object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMessage()
Gets an error message describing the unresolvable reference, prividing the
reference, the reason why it can't be resolved, and the position within the
text of the reference.
|
public java.lang.String ref
public ReferenceException(java.lang.String ref,
java.lang.String msg,
int errorOffset)
ref - The unresolvable referencemsg - The reason the reference could not be resolvederrorOffset - Offset to the unresolvable reference within the input
string