Did I find the right examples for you? yes no

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

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