Class InvalidDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.eventstreamrpc.InvalidDataException
-
- All Implemented Interfaces:
Serializable
public class InvalidDataException extends RuntimeException
An exception for invalid/unexpected data- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidDataException(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 Detail
-
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
-
-