Class ModelSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.smithy.model.SourceException
software.amazon.smithy.model.loader.ModelSyntaxException
- All Implemented Interfaces:
Serializable
,FromSourceLocation
,ToShapeId
Thrown when the syntax of the IDL is invalid.
- See Also:
-
Constructor Summary
ConstructorDescriptionModelSyntaxException
(String message, int line, int column) ModelSyntaxException
(String message, String filename, int line, int column) ModelSyntaxException
(String message, FromSourceLocation sourceLocation) -
Method Summary
Methods inherited from class software.amazon.smithy.model.SourceException
getMessageWithoutLocation, getSourceLocation
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString