Package com.anthropic.models.messages
Class ThreadNotFoundException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ThreadNotFoundException extends NotFoundException
No usable Thread state was found for
previous_message_id. Replay the full conversation withthread: {"type": "create"}to start a new Thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadNotFoundException.BuilderA builder for ThreadNotFoundException.
-
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 ThreadNotFoundErrorDetailsdetails()error.detailsof body.ThreadNotFoundException.BuildertoBuilder()final static ThreadNotFoundException.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadNotFoundException. -
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.NotFoundException
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 ThreadNotFoundErrorDetails details()
error.detailsof body.
-
toBuilder
ThreadNotFoundException.Builder toBuilder()
-
builder
final static ThreadNotFoundException.Builder builder()
Returns a mutable builder for constructing an instance of ThreadNotFoundException.
The following fields are required:
.headers() .body()
-
-
-
-