Class UnauthorizedRequestException

All Implemented Interfaces:
Serializable

public class UnauthorizedRequestException
extends InvalidRequestException
Thrown if the server required Authentication, but the client was either not configured to provide credentials, or those credentials were rejected/invalid.
See Also:
Serialized Form
  • Constructor Details

    • UnauthorizedRequestException

      public UnauthorizedRequestException​(String message, int errorCode)
      Constructor.
      Parameters:
      message - Error message.
      errorCode - Error code.