Class ModelErrorException
- 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.bedrockruntime.model.BedrockRuntimeException
-
- software.amazon.awssdk.services.bedrockruntime.model.ModelErrorException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelErrorException.Builder,ModelErrorException>
@Generated("software.amazon.awssdk:codegen") public final class ModelErrorException extends BedrockRuntimeException implements ToCopyableBuilder<ModelErrorException.Builder,ModelErrorException>
The request failed due to an error while processing the model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelErrorException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelErrorException.Builderbuilder()IntegeroriginalStatusCode()The original status code.StringresourceName()The resource name.List<SdkField<?>>sdkFields()static Class<? extends ModelErrorException.Builder>serializableBuilderClass()ModelErrorException.BuildertoBuilder()-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
toBuilder
public ModelErrorException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelErrorException.Builder,ModelErrorException>- Overrides:
toBuilderin classBedrockRuntimeException
-
builder
public static ModelErrorException.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelErrorException.Builder> serializableBuilderClass()
-
originalStatusCode
public Integer originalStatusCode()
The original status code.
- Returns:
- The original status code.
-
resourceName
public String resourceName()
The resource name.
- Returns:
- The resource name.
-
-