Class UnmappedDataException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.eventstreamrpc.UnmappedDataException
All Implemented Interfaces:
Serializable

public class UnmappedDataException extends RuntimeException
Unmapped data exception is generated either on server or client side when recieving data over the wire and is unable to map properly to an expected type to be received for the operation. Or an exception (don't have to be called out).
See Also:
  • Constructor Details

    • UnmappedDataException

      public UnmappedDataException(String applicationModelType)
      Creates a new Unmapped data exception.
      Parameters:
      applicationModelType - The application model type that caused the exception
    • UnmappedDataException

      public UnmappedDataException(Class<? extends EventStreamJsonMessage> expectedClass)
      Creates a new Unmapped data exception.
      Parameters:
      expectedClass - The application class that caused the exception
    • UnmappedDataException

      public UnmappedDataException(String applicationModelType, Class<? extends EventStreamJsonMessage> expectedClass)
      Creates a new Unmapped data exception.
      Parameters:
      applicationModelType - The application model type that caused the exception
      expectedClass - The application class that caused the exception