com.ibm.commerce.wallet.facade.client

Class WalletException

  • All Implemented Interfaces:
    java.io.Serializable


    public class WalletException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error describing why the request failed. This exception is thrown when the Wallet service returns error information.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WalletException

        public WalletException(ChangeStatusType changeStatus,
                               VerbType verb,
                               java.util.List wallets)
        Creates an instance of the Wallet exception.
        Parameters:
        changeStatus - The error information that is contained in the ChangeStatus element of the respond or acknowledge verb.
        verb - The returning verb.
        wallets - The list of Wallet that is associated with the response.
      • WalletException

        public WalletException(java.util.List clientErrors)
        Creates an instance of the Wallet exception.
        Parameters:
        clientErrors - The client errors to associate with the exception. These client error represent client side parameter validation that cause the exception.
    • Method Detail

      • getWallet

        public java.util.List getWallet()
        Returns the Wallet that is associated with the response of the request.
        Returns:
        The list of Wallet found in the response.