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:
java.io.Serializable
,FromSourceLocation
,ToShapeId
public class ModelSyntaxException extends SourceException implements ToShapeId
Thrown when the syntax of the IDL is invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelSyntaxException(java.lang.String message, int line, int column)
ModelSyntaxException(java.lang.String message, java.lang.String filename, int line, int column)
ModelSyntaxException(java.lang.String message, FromSourceLocation sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeId
toShapeId()
-
Methods inherited from class software.amazon.smithy.model.SourceException
getMessageWithoutLocation, getSourceLocation
-
-
-
-
Constructor Detail
-
ModelSyntaxException
public ModelSyntaxException(java.lang.String message, int line, int column)
-
ModelSyntaxException
public ModelSyntaxException(java.lang.String message, java.lang.String filename, int line, int column)
-
ModelSyntaxException
public ModelSyntaxException(java.lang.String message, FromSourceLocation sourceLocation)
-
-