public class MapCSSException extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
column
column number at which the parse error occured
|
protected java.lang.Integer |
line
line number at which the parse error occured
|
Constructor and Description |
---|
MapCSSException(java.lang.String specialmessage)
Constructs a new
MapCSSException with an explicit error message. |
MapCSSException(java.lang.Throwable cause)
Constructs a new
MapCSSException with a cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
void |
setColumn(int column)
Sets the column number at which the parse error occured.
|
void |
setLine(int line)
Sets the line number at which the parse error occured.
|
protected java.lang.Integer line
protected java.lang.Integer column
public MapCSSException(java.lang.String specialmessage)
MapCSSException
with an explicit error message.specialmessage
- error messagepublic MapCSSException(java.lang.Throwable cause)
MapCSSException
with a cause.cause
- the root causepublic void setColumn(int column)
column
- the column number at which the parse error occuredpublic void setLine(int line)
line
- the line number at which the parse error occuredpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable