Class KeyProfileMismatchException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class KeyProfileMismatchException extends BadRequestException
After this request, the External Key and the Workspace would not have the same user profile. A key and its Workspace must have the same user profile, or both have none.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classKeyProfileMismatchException.BuilderA builder for KeyProfileMismatchException.
-
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 KeyProfileMismatchErrorDetailsdetails()error.detailsof body.KeyProfileMismatchException.BuildertoBuilder()final static KeyProfileMismatchException.Builderbuilder()Returns a mutable builder for constructing an instance of KeyProfileMismatchException. -
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 KeyProfileMismatchErrorDetails details()
error.detailsof body.
-
toBuilder
KeyProfileMismatchException.Builder toBuilder()
-
builder
final static KeyProfileMismatchException.Builder builder()
Returns a mutable builder for constructing an instance of KeyProfileMismatchException.
The following fields are required:
.headers() .body()
-
-
-
-