Package org.apache.kafka.common.errors
Class UnacceptableCredentialException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.common.errors.ApiException
-
- org.apache.kafka.common.errors.UnacceptableCredentialException
-
- All Implemented Interfaces:
Serializable
public class UnacceptableCredentialException extends ApiException
Exception thrown when attempting to define a credential that does not meet the criteria for acceptability (for example, attempting to create a SCRAM credential with an empty username or password or too few/many iterations).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnacceptableCredentialException(String message)
ConstructorUnacceptableCredentialException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnacceptableCredentialException
public UnacceptableCredentialException(String message)
Constructor- Parameters:
message
- the exception's message
-
-