Class ServiceException

All Implemented Interfaces:
Serializable

public class ServiceException extends NetLicensingException
ServiceException is thrown when error response is received from the service.
See Also:
  • Constructor Details

    • 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 Details

    • getStatus

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

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

      public Netlicensing getErrorResponse()