Class ServiceAuthException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.wanaku.capabilities.sdk.api.exceptions.WanakuException
ai.wanaku.cli.main.support.security.ServiceAuthException
All Implemented Interfaces:
Serializable

public class ServiceAuthException extends ai.wanaku.capabilities.sdk.api.exceptions.WanakuException
Exception thrown when service authentication fails in the Wanaku capabilities SDK.

This exception is used to indicate authentication-related failures when attempting to authenticate with services, including invalid credentials, expired tokens, insufficient permissions, or other authentication-related issues.

See Also:
  • Constructor Details

    • ServiceAuthException

      public ServiceAuthException()
      Constructs a new ServiceAuthException with no detail message.
    • ServiceAuthException

      public ServiceAuthException(String message)
      Constructs a new ServiceAuthException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the authentication failure
    • ServiceAuthException

      public ServiceAuthException(String message, Throwable cause)
      Constructs a new ServiceAuthException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the reason for the authentication failure
      cause - the underlying cause of this exception
    • ServiceAuthException

      public ServiceAuthException(Throwable cause)
      Constructs a new ServiceAuthException with the specified cause.
      Parameters:
      cause - the underlying cause of this exception
    • ServiceAuthException

      public ServiceAuthException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a new ServiceAuthException with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
      Parameters:
      message - the detail message explaining the reason for the authentication failure
      cause - the underlying cause of this exception
      enableSuppression - whether or not suppression is enabled or disabled
      writableStackTrace - whether or not the stack trace should be writable