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
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:
-
Constructor Summary
ConstructorDescriptionUnacceptableCredentialException
(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 Details
-
UnacceptableCredentialException
Constructor- Parameters:
message
- the exception's message
-
UnacceptableCredentialException
- Parameters:
message
- the exception's messagecause
- the exception's cause
-