Class ServiceException

    • Constructor Detail

      • ServiceException

        public ServiceException​(javax.ws.rs.core.Response.Status status,
                                javax.ws.rs.core.MultivaluedMap<String,​Object> headers,
                                Netlicensing errorResponse)
        Construct a ServiceException with the service error response object.
        Parameters:
        status - response status
        headers - response headers
        errorResponse - the service response containing the error info.
    • Method Detail

      • getStatus

        public javax.ws.rs.core.Response.Status getStatus()
      • getHeaders

        public javax.ws.rs.core.MultivaluedMap<String,​Object> getHeaders()