Class ExpectationNotMetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.smithy.model.SourceException
-
- software.amazon.smithy.model.node.ExpectationNotMetException
-
- All Implemented Interfaces:
java.io.Serializable
,FromSourceLocation
public class ExpectationNotMetException extends SourceException
Thrown byNode
methods that expect a node to be of a particular type or to have a particular member.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpectationNotMetException(java.lang.String message, FromSourceLocation fromSourceLocation)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.SourceException
getMessageWithoutLocation, getSourceLocation
-
-
-
-
Constructor Detail
-
ExpectationNotMetException
public ExpectationNotMetException(java.lang.String message, FromSourceLocation fromSourceLocation)
-
-