Package com.anthropic.errors
Class ContentTooLargeException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class ContentTooLargeException extends AnthropicServiceException
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classContentTooLargeException.BuilderA builder for ContentTooLargeException.
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final Throwablecauseprivate final StringlocalizedMessageprivate final Array<Throwable>suppressedprivate Array<StackTraceElement>stackTrace
-
Method Summary
Modifier and Type Method Description Headersheaders()JsonValuebody()IntegerstatusCode()ContentTooLargeException.BuildertoBuilder()final static ContentTooLargeException.Builderbuilder()Returns a mutable builder for constructing an instance of ContentTooLargeException. -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class com.anthropic.errors.AnthropicServiceException
apiMessage, errorCode, errorDetails, errorType, requestId, type, workspaceId -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
statusCode
Integer statusCode()
-
toBuilder
ContentTooLargeException.Builder toBuilder()
-
builder
final static ContentTooLargeException.Builder builder()
Returns a mutable builder for constructing an instance of ContentTooLargeException.
The following fields are required:
.headers() .body()
-
-
-
-