Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)
PaymentException base class.

src/p/a/PayPy-0.6/paypy/subscription.py   PayPy(Download)
from paypy.exceptions.subscription import SubscriptionException
ADAPTERS = ('authnet')
    def __init__(self, configuration, adapter='authnet'):
        # A adapter must be specified
        if not adapter:
            raise SubscriptionException('You must specify a gateway adapter')
        # Is the driver allowed?
        if adapter not in ADAPTERS:
            raise SubscriptionException('The configured adapter is not supported')
        # Lazy load