Class UnsupportedOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
software.amazon.awssdk.eventstreamrpc.model.UnsupportedOperationException
- All Implemented Interfaces:
Serializable,EventStreamJsonMessage
Thrown when an unsupported operation exception occurs
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe error code associated with a unsupported operation exception -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedOperationException(String serviceName, String operationName) Creates a new UnsupportedOperationException from the given service and operation names -
Method Summary
Methods inherited from class software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
getErrorCode, getMessage, getServiceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
ERROR_CODE
The error code associated with a unsupported operation exception- See Also:
-
-
Constructor Details
-
UnsupportedOperationException
Creates a new UnsupportedOperationException from the given service and operation names- Parameters:
serviceName- The name of the service that caused the exceptionoperationName- The name of the operation that caused the exception
-
-
Method Details
-
getApplicationModelType
Returns the named model type. May be used for a header.- Returns:
- the named model type
-