Package org.exoplatform.bluemind.client.exception
package org.exoplatform.bluemind.client.exception
-
Exception ClassesClassDescriptionBlueMind refused the credentials: a login answered 401 or 403, or answered 200 with a
statusother thanOk(Bad,Expired), or a call answered 401 on a key BlueMind no longer takes.The caller's own time budget ran out (BlueMindCallBudget), not the server: the exchange was refused, or cut, because the bounded caller had no time left.A BlueMind call that did not work, for a reason none of the subclasses names: an answer of an unexpected status or shape, a redirect, an oversized body, an interrupted call.BlueMind accepted the session and refused the operation: a 403, or a 500 whose fault code isPERMISSION_DENIED, which is how BlueMind's REST layer says the authenticated account has no role on what it addressed (ResponseBuilder.replyServerFault).No login endpoint answers at the declared server:POST /api/auth/loginanswered 404, so the address a consumer was configured with is not a BlueMind server's.What the call addressed does not exist on the server: a 404, or a 500 whose fault code isNOT_FOUND— BlueMind's REST layer answers everyServerFaultbutPERMISSION_DENIEDwith a 500 naming the fault's code in its body.BlueMind read the request and refused its content: a 500 whose fault code isINVALID_PARAMETERorFORBIDDEN, which is how BlueMind's mail filter validators answer a rule they will not store (MailFilterValidator,MailFilterForwardRoleValidator: a malformed condition, a forward to the owner's own address, a forward outside the domain without themailForwardingrole, a rule placed among another client's rules).A 403, or a 404 on a lookup, whose body is not BlueMind's: the deployment's front proxy refused the route before BlueMind saw the request.BlueMind refused the session key a request carried — HTTP 401 on a sudo — as opposed to refusing what the request asked for.The session BlueMind opened belongs to somebody other than the account eXo meant to edit, so nothing was sent (EXO-90277).BlueMind refused a sudo because of the target account: a 200 carrying astatusother thanOkand nomessage.The server could not be reached, or did not answer in time: a transport failure, a gateway status (502, 503, 504), an exchange that did not complete within the request timeout, or a 500 whose fault code says the server itself failed.