Class LicenseServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.spotfire.ws.pub.LicenseServiceException
All Implemented Interfaces:
Serializable

@WebFault(faultBean="com.spotfire.ws.pub.LicenseFaultInfo", targetNamespace="http://spotfire.tibco.com/ws/pub/2014/04/license.xsd") public class LicenseServiceException extends Exception
Exception thrown by the LicenseService.

Error codes that might be returned:

  • Server.InternalError - An Internal Error has occurred.
  • Client.NoSuchPrincipal - No principal with that name exists.
  • Client.InvalidArgument - An invalid argument was received.
  • Client.Unauthorized - The caller does not have sufficient privileges for this action.
  • Server.TransientError - A possibly transient error occurred, try again.
  • Server.NoSuchLicense - The License does not exist.
  • Server.NoSuchFunction - The Function does not exists.
See Also:
  • Constructor Details

    • LicenseServiceException

      public LicenseServiceException(String message, LicenseFaultInfo faultInfo)
      Creates a new instance.
      Parameters:
      message - a detailed message
      faultInfo - the fault info
    • LicenseServiceException

      public LicenseServiceException(String message, LicenseFaultInfo faultInfo, Throwable cause)
      Creates a new instance.
      Parameters:
      message - a detailed message
      faultInfo - the fault info
      cause - the cause
  • Method Details

    • getFaultInfo

      public LicenseFaultInfo getFaultInfo()
      Returns a bean that contains additional information about the exception.
      Returns:
      a bean that contains additional information about the exception.