com.ibm.eventstreams.serdes.exceptions

Class SchemaRegistryAuthException

  • All Implemented Interfaces:
    Serializable


    public class SchemaRegistryAuthException
    extends Exception
    Indicates an authentication failure with the credentials provided by the client.
    See Also:
    Serialized Form
    • Constructor Detail

      • SchemaRegistryAuthException

        public SchemaRegistryAuthException(int status)
      • SchemaRegistryAuthException

        public SchemaRegistryAuthException(int status,
                                           Throwable thr)
    • Method Detail

      • getStatus

        public int getStatus()
        Returns the HTTP status code to enable differentiation between an invalid API key (401) and an API key that isn't allowed to access the Schema Registry (403).

Copyright © 2019. All rights reserved.