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:
Serializable,FromSourceLocation
Thrown by
Node methods that expect a node to be of a particular
type or to have a particular member.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExpectationNotMetException(String message, FromSourceLocation fromSourceLocation) -
Method Summary
Methods inherited from class software.amazon.smithy.model.SourceException
getMessageWithoutLocation, getSourceLocationMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpectationNotMetException
-