Class CredentialResolutionException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class CredentialResolutionException
    extends AnthropicException
                        

    Thrown when resolving credentials for a specific profile fails — e.g. the profile's configuration references an identity token file that cannot be read, or its credentials cache is malformed.

    Unlike NoCredentialsException, which means no source was configured at all, this indicates a configured source was found but could not be turned into usable credentials.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String profileName()
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait