Class MapCSSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSException
- All Implemented Interfaces:
Serializable
MapCSS parsing error, with line/column information in error message.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapCSSException(String specialMessage) Constructs a newMapCSSExceptionwith an explicit error message.MapCSSException(Throwable cause) Constructs a newMapCSSExceptionwith a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
line
line number at which the parse error occurred -
column
column number at which the parse error occurred
-
-
Constructor Details
-
MapCSSException
Constructs a newMapCSSExceptionwith an explicit error message.- Parameters:
specialMessage- error message
-
MapCSSException
Constructs a newMapCSSExceptionwith a cause.- Parameters:
cause- the root cause- Since:
- 11562
-
-
Method Details
-
setColumn
Sets the column number at which the parse error occurred.- Parameters:
column- the column number at which the parse error occurred
-
setLine
Sets the line number at which the parse error occurred.- Parameters:
line- the line number at which the parse error occurred
-
getMessage
- Overrides:
getMessagein classThrowable
-