- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax0.jamal.api.BadSyntax
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadSyntaxAt
public class BadSyntax extends java.lang.Exception
This exception, as the name suggest, is thrown when the processor or a macro finds something it cannot interpret. This exception is always captured inside Jamal and then rethrown as aBadSyntaxAt
exception adding the line reference information. This exception is used at code locations where it is not possible to identify the actual input location where the erroneous syntax started. See alsoBadSyntaxAt
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
java.util.List<java.lang.String>
getParameters()
BadSyntax
parameter(java.lang.String param)
-
-
-
Method Detail
-
getParameters
public java.util.List<java.lang.String> getParameters()
-
parameter
public BadSyntax parameter(java.lang.String param)
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-