Class UnmappedDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.eventstreamrpc.UnmappedDataException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionUnmappedDataException(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 Details
-
UnmappedDataException
Creates a new Unmapped data exception.- Parameters:
applicationModelType- The application model type that caused the exception
-
UnmappedDataException
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
-