Package com.openhtmltopdf.css.parser
Class CSSParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.openhtmltopdf.css.parser.CSSParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class CSSParseException extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
_callerNotified
private Token[]
_expected
private Token
_found
private java.lang.String
_genericMessage
private int
_line
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CSSParseException(Token found, Token[] expected, int line)
CSSParseException(Token found, Token expected, int line)
CSSParseException(java.lang.String message, int line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
descr(Token[] tokens)
Token
getFound()
int
getLine()
java.lang.String
getMessage()
boolean
isCallerNotified()
boolean
isEOF()
void
setCallerNotified(boolean callerNotified)
void
setLine(int i)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
_found
private final Token _found
-
_expected
private final Token[] _expected
-
_line
private int _line
-
_genericMessage
private final java.lang.String _genericMessage
-
_callerNotified
private boolean _callerNotified
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
descr
private java.lang.String descr(Token[] tokens)
-
getFound
public Token getFound()
-
getLine
public int getLine()
-
setLine
public void setLine(int i)
-
isEOF
public boolean isEOF()
-
isCallerNotified
public boolean isCallerNotified()
-
setCallerNotified
public void setCallerNotified(boolean callerNotified)
-
-