Class InvalidDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.eventstreamrpc.InvalidDataException
- All Implemented Interfaces:
Serializable
An exception for invalid/unexpected data
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidDataException(software.amazon.awssdk.crt.eventstream.MessageType unexpectedType) Constructs a new InvalidDataException with the given MessageType, whose name will be added to the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidDataException
public InvalidDataException(software.amazon.awssdk.crt.eventstream.MessageType unexpectedType) Constructs a new InvalidDataException with the given MessageType, whose name will be added to the exception.- Parameters:
unexpectedType- The MessageType that caused the exception
-