Package com.anthropic.models.files
Class FileExpiredException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class FileExpiredException extends NotFoundException
The file's
expires_athas passed, so its content is no longer available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileExpiredException.BuilderA builder for FileExpiredException.
-
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 FileExpiredErrorDetailsdetails()error.detailsof body.FileExpiredException.BuildertoBuilder()final static FileExpiredException.Builderbuilder()Returns a mutable builder for constructing an instance of FileExpiredException. -
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 FileExpiredErrorDetails details()
error.detailsof body.
-
toBuilder
FileExpiredException.Builder toBuilder()
-
builder
final static FileExpiredException.Builder builder()
Returns a mutable builder for constructing an instance of FileExpiredException.
The following fields are required:
.headers() .body()
-
-
-
-