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(int statusCode, Map<String,List<String>> 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

    • getStatusCode

      public int getStatusCode()
    • getHeaders

      public Map<String,List<String>> getHeaders()
    • getErrorResponse

      public Netlicensing getErrorResponse()