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:
  • 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