Top Fields Constructors Methods
com.openhtmltopdf.css.parser

public Class CSSParseException

extends RuntimeException
Class Inheritance

Field Summary

Modifier and TypeField and Description
private boolean
private final Token[]
private final Token
private final String
private int
private static final long

Constructor Summary

AccessConstructor and Description
public
CSSParseException(String message, int line)

public
CSSParseException(Token found, Token expected, int line)

public
CSSParseException(Token found, Token[] expected, int line)

Method Summary

Modifier and TypeMethod and Description
private String
descr(Token[] tokens)

public Token
public int
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

public boolean
public boolean
public void
setCallerNotified(boolean callerNotified)

public void
setLine(int i)

Field Detail

_callerNotifiedback to summary
private boolean _callerNotified
_expectedback to summary
private final Token[] _expected
_foundback to summary
private final Token _found
_genericMessageback to summary
private final String _genericMessage
_lineback to summary
private int _line
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

CSSParseExceptionback to summary
public CSSParseException(String message, int line)
CSSParseExceptionback to summary
public CSSParseException(Token found, Token expected, int line)
CSSParseExceptionback to summary
public CSSParseException(Token found, Token[] expected, int line)

Method Detail

descrback to summary
private String descr(Token[] tokens)
getFoundback to summary
public Token getFound()
getLineback to summary
public int getLine()
getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override
isCallerNotifiedback to summary
public boolean isCallerNotified()
isEOFback to summary
public boolean isEOF()
setCallerNotifiedback to summary
public void setCallerNotified(boolean callerNotified)
setLineback to summary
public void setLine(int i)