Package ro.sync.exml.workspace.api.util
Class PrettyPrintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ro.sync.exml.workspace.api.util.PrettyPrintException
- All Implemented Interfaces:
Serializable
Exception thrown when an error occurs while pretty printing an XML document.
- Since:
- 17.1
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create a pretty printing exception.protected
PrettyPrintException
(String message) Creates an exception with the specified message. -
Method Summary
Modifier and TypeMethodDescriptionabstract int
abstract int
abstract int
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PrettyPrintException
protected PrettyPrintException()Create a pretty printing exception. -
PrettyPrintException
Creates an exception with the specified message.- Parameters:
message
- The message of the exception.
-
-
Method Details
-
getLineNumber
public abstract int getLineNumber()- Returns:
- The line number of the error. 1 based.
-
getColumnNumber
public abstract int getColumnNumber()- Returns:
- The column number of the error.
-
getLength
public abstract int getLength()- Returns:
- Returns the length of the range in error.
-