Class UnauthorizedRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sourcelab.kafka.connect.apiclient.rest.exceptions.InvalidRequestException
org.sourcelab.kafka.connect.apiclient.rest.exceptions.UnauthorizedRequestException
- All Implemented Interfaces:
Serializable
Thrown if the server required Authentication, but the client was either not configured to provide credentials,
or those credentials were rejected/invalid.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sourcelab.kafka.connect.apiclient.rest.exceptions.InvalidRequestException
factory, getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedRequestException
Constructor.- Parameters:
message- Error message.errorCode- Error code.
-