public class SchemaRegistryAuthException extends Exception
Constructor and Description |
---|
SchemaRegistryAuthException(int status) |
SchemaRegistryAuthException(int status,
Throwable thr) |
Modifier and Type | Method and Description |
---|---|
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).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SchemaRegistryAuthException(int status)
public SchemaRegistryAuthException(int status, Throwable thr)
Copyright © 2019. All rights reserved.