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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmappedDataException(Class<? extends EventStreamJsonMessage> expectedClass)
Creates a new Unmapped data exception.UnmappedDataException(String applicationModelType)
Creates a new Unmapped data exception.UnmappedDataException(String applicationModelType, Class<? extends EventStreamJsonMessage> expectedClass)
Creates a new Unmapped data 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
-
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 exceptionexpectedClass
- The application class that caused the exception
-
-