Class UnexpectedResponseException

    • Constructor Detail

      • UnexpectedResponseException

        public UnexpectedResponseException​(javax.ws.rs.core.Response.StatusType actual)
      • UnexpectedResponseException

        public UnexpectedResponseException​(Object errorEntity,
                                           javax.ws.rs.core.Response.StatusType actual,
                                           javax.ws.rs.core.Response.StatusType... expected)
      • UnexpectedResponseException

        public UnexpectedResponseException​(Object errorEntity,
                                           Throwable cause,
                                           javax.ws.rs.core.Response.StatusType actual,
                                           javax.ws.rs.core.Response.StatusType... expected)
    • Method Detail

      • getActualStatus

        public javax.ws.rs.core.Response.StatusType getActualStatus()
      • getErrorCode

        public String getErrorCode()
      • getErrorMessage

        public String getErrorMessage()
      • getErrorType

        public String getErrorType()