Package org.dlese.dpc.schemedit.input
Class ReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.text.ParseException
org.dlese.dpc.schemedit.input.ReferenceException
- All Implemented Interfaces:
Serializable
Stores information about a problem trying to resolve a numeric or character
reference within form input. Description of the Class
- Author:
- ostwald
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReferenceException(String ref, String msg, int errorOffset) Constructor for the ReferenceException object -
Method Summary
Modifier and TypeMethodDescriptionGets 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.Methods inherited from class java.text.ParseException
getErrorOffsetMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ref
A string representation of a character or numerical reference (e.g., Δ or invalid input: '�'a9;)
-
-
Constructor Details
-
ReferenceException
Constructor for the ReferenceException object- Parameters:
ref- The unresolvable referencemsg- The reason the reference could not be resolvederrorOffset- Offset to the unresolvable reference within the input string
-
-
Method Details
-
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.- Returns:
- The errorMessage value
-