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 occurred
|
protected java.lang.Integer |
line
line number at which the parse error occurred
|
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 occurred.
|
void |
setLine(int line)
Sets the line number at which the parse error occurred.
|
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 occurredpublic void setLine(int line)
line
- the line number at which the parse error occurredpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable