Package com.anthropic.models.messages
Class ThreadAlreadyContinuedException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ThreadAlreadyContinuedException extends BadRequestException
The response that
previous_message_idnames has already been continued, and each response can be continued only once. Continue from the Thread's most recent responseid.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadAlreadyContinuedException.BuilderA builder for ThreadAlreadyContinuedException.
-
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 final ThreadAlreadyContinuedErrorDetailsdetails()error.detailsof body.ThreadAlreadyContinuedException.BuildertoBuilder()final static ThreadAlreadyContinuedException.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadAlreadyContinuedException. -
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.BadRequestException
body, headers, statusCode -
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
-
details
final ThreadAlreadyContinuedErrorDetails details()
error.detailsof body.
-
toBuilder
ThreadAlreadyContinuedException.Builder toBuilder()
-
builder
final static ThreadAlreadyContinuedException.Builder builder()
Returns a mutable builder for constructing an instance of ThreadAlreadyContinuedException.
The following fields are required:
.headers() .body()
-
-
-
-