Class FormattingException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLimit()  
      int getStart()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FormattingException

        public FormattingException​(int start,
                                   int limit)
      • FormattingException

        public FormattingException​(java.lang.String message,
                                   int start,
                                   int limit)
      • FormattingException

        public FormattingException​(java.lang.String message,
                                   java.lang.Throwable cause,
                                   int start,
                                   int limit)
      • FormattingException

        public FormattingException​(java.lang.Throwable cause,
                                   int start,
                                   int limit)
    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable