Class PrettyPrintException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ro.sync.exml.workspace.api.util.PrettyPrintException
All Implemented Interfaces:
Serializable

@API(type=NOT_EXTENDABLE, src=PUBLIC) public abstract class PrettyPrintException extends Exception
Exception thrown when an error occurs while pretty printing an XML document.
Since:
17.1
See Also:
  • Constructor Details

    • PrettyPrintException

      protected PrettyPrintException()
      Create a pretty printing exception.
    • PrettyPrintException

      protected PrettyPrintException(String message)
      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.