Class FormattingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.adobe.fontengine.FontEngineException
-
- com.adobe.fontengine.inlineformatting.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
-
-
Constructor Summary
Constructors Constructor Description FormattingException(int start, int limit)
FormattingException(java.lang.String message, int start, int limit)
FormattingException(java.lang.String message, java.lang.Throwable cause, int start, int limit)
FormattingException(java.lang.Throwable cause, int start, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
int
getStart()
java.lang.String
toString()
-
-
-
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 classjava.lang.Throwable
-
-