Package eu.bandm.tools.lexic
Class LocationCodePointException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.bandm.tools.lexic.LocationCodePointException
- All Implemented Interfaces:
Serializable
Indicates that an unexpected or illegal code point has been found in an
input document.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocationCodePointException(@Opt Location<?> location, int codePoint) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the offending code point.Returns the location of the offending code point in the input document.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocationCodePointException
Creates a new instance.- Parameters:
location- the location of the offending code point in the input document, ornullif not availablecodePoint- the offending code point
-
-
Method Details
-
getLocation
Returns the location of the offending code point in the input document.- Returns:
- the location of the offending code point in the input document, or
nullif not available
-
getCodePoint
public int getCodePoint()Returns the offending code point.- Returns:
- the offending code point
-