DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.input
Class ReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.text.ParseException
              extended by org.dlese.dpc.schemedit.input.ReferenceException
All Implemented Interfaces:
Serializable

public class ReferenceException
extends ParseException

Stores information about a problem trying to resolve a numeric or character reference within form input. Description of the Class

Author:
ostwald
See Also:
Serialized Form

Field Summary
 String ref
          A string representation of a character or numerical reference (e.g., Δ or �a9;)
 
Constructor Summary
ReferenceException(String ref, String msg, int errorOffset)
          Constructor for the ReferenceException object
 
Method Summary
 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.
 
Methods inherited from class java.text.ParseException
getErrorOffset
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ref

public String ref
A string representation of a character or numerical reference (e.g., Δ or �a9;)

Constructor Detail

ReferenceException

public ReferenceException(String ref,
                          String msg,
                          int errorOffset)
Constructor for the ReferenceException object

Parameters:
ref - The unresolvable reference
msg - The reason the reference could not be resolved
errorOffset - Offset to the unresolvable reference within the input string
Method Detail

getErrorMessage

public 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.

Returns:
The errorMessage value

DLESE Tools
v1.6.0