Class LicenseServiceException

  • All Implemented Interfaces:
    java.io.Serializable

    @WebFault(faultBean="com.spotfire.ws.pub.LicenseFaultInfo",
              targetNamespace="http://spotfire.tibco.com/ws/pub/2014/04/license.xsd")
    public class LicenseServiceException
    extends java.lang.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LicenseFaultInfo getFaultInfo()
      Returns a bean that contains additional information about the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LicenseServiceException

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

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

      • getFaultInfo

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