Class ModelStreamErrorException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- software.amazon.awssdk.core.exception.SdkException
- 
- software.amazon.awssdk.core.exception.SdkServiceException
- 
- software.amazon.awssdk.awscore.exception.AwsServiceException
- 
- software.amazon.awssdk.services.sagemakerruntime.model.SageMakerRuntimeException
- 
- software.amazon.awssdk.services.sagemakerruntime.model.ModelStreamErrorException
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
 
 @Generated("software.amazon.awssdk:codegen") public final class ModelStreamErrorException extends SageMakerRuntimeException implements ToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException> An error occurred while streaming the response body. This error can have the following error codes: - ModelInvocationTimeExceeded
- 
 The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker. 
- StreamBroken
- 
 The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed. 
 - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceModelStreamErrorException.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelStreamErrorException.Builderbuilder()StringerrorCode()This error can have the following error codes:List<SdkField<?>>sdkFields()static Class<? extends ModelStreamErrorException.Builder>serializableBuilderClass()ModelStreamErrorException.BuildertoBuilder()- 
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceExceptionawsErrorDetails, getMessage, isClockSkewException, isThrottlingException
 - 
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceExceptionextendedRequestId, requestId, statusCode
 - 
Methods inherited from class software.amazon.awssdk.core.exception.SdkExceptioncreate, retryable
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields
 - 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
 
- 
 
- 
- 
- 
Method Detail- 
toBuilderpublic ModelStreamErrorException.Builder toBuilder() - Specified by:
- toBuilderin interface- ToCopyableBuilder<ModelStreamErrorException.Builder,ModelStreamErrorException>
- Overrides:
- toBuilderin class- SageMakerRuntimeException
 
 - 
builderpublic static ModelStreamErrorException.Builder builder() 
 - 
serializableBuilderClasspublic static Class<? extends ModelStreamErrorException.Builder> serializableBuilderClass() 
 - 
errorCodepublic String errorCode() This error can have the following error codes: - ModelInvocationTimeExceeded
- 
 The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker. 
- StreamBroken
- 
 The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed. 
 - Returns:
- This error can have the following error codes:
         - ModelInvocationTimeExceeded
- 
         The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker. 
- StreamBroken
- 
         The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed. 
 
 
 
- 
 
-