Class SearchParseError
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openstreetmap.josm.data.osm.search.SearchParseError
- All Implemented Interfaces:
Serializable
Search compiler parsing error.
- Since:
- 12656 (extracted from
SearchCompiler). - See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSearchParseError(String msg) Constructs a new genericParseError.SearchParseError(String msg, Throwable cause) Constructs a new genericParseError.SearchParseError(PushbackTokenizer.Token expected, PushbackTokenizer.Token found) Constructs a new detailedParseError. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SearchParseError
Constructs a new genericParseError.- Parameters:
msg- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
SearchParseError
Constructs a new genericParseError.- Parameters:
msg- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).
-
SearchParseError
Constructs a new detailedParseError.- Parameters:
expected- expected tokenfound- actual token
-