Class TPCSDKException

  • All Implemented Interfaces:
    Serializable

    public class TPCSDKException
    extends Exception
    TPCSDKException is generic exception class to handle all TPC errors TPCSDKException provides exceptionType through which called will get exact reason for error
    Since:
    1.0
    Version:
    1.0
    See Also:
    Serialized Form
    • Method Detail

      • getRequestId

        public String getRequestId()
        Provides id of the failed server request
        Returns:
        value of x-request-id or null in case of local exception
      • getAdditionalData

        public Object getAdditionalData()
        Returns optional structured data attached to this exception by the SDK.

        For Google Pay UPP provisioning errors the value is a GoogleProvisioningResult instance when a PushTokenizeResult was available in the Activity result.

        Returns:
        additional data object, or null if none was set