Class FormattingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoSuitableFontException

public class FormattingException extends FontEngineException
FormattingException. Thrown by inline formatters when some error occurred during formatting. For instances of this class, the cause generally provides a more specific indication of the failure.
See Also:
  • Constructor Details

    • FormattingException

      public FormattingException(int start, int limit)
    • FormattingException

      public FormattingException(String message, int start, int limit)
    • FormattingException

      public FormattingException(String message, Throwable cause, int start, int limit)
    • FormattingException

      public FormattingException(Throwable cause, int start, int limit)
  • Method Details

    • getStart

      public int getStart()
      Returns:
      the start point in the AttributedRun that caused the exception.
    • getLimit

      public int getLimit()
      Returns:
      the limit point in the AttributedRun that caused the exception.
    • toString

      public String toString()
      Overrides:
      toString in class Throwable