Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)
Authorize.net CIM base exception class.

src/p/a/PayPy-0.6/paypy/adapters/authnet/cim.py   PayPy(Download)
 
from paypy.adapters                import *
from paypy.exceptions.authnet      import CIMException
 
from paypy.schemas.authnet.cim     import *
           not IAuthnetProfileCreateTransaction.providedBy(self.options.profile):
 
            raise CIMException('a creation request must conform to one of the creation interfaces')
 
        return CreateProfileResult(self._request())
           not IAuthnetProfileUpdateSplitTender.providedBy(self.options.profile):
 
            raise CIMException('an update request must conform to one of the update interfaces')
 
        return UpdateProfileResult(self._request())
           not IAuthnetProfileRetrieveShipping.providedBy(self.options.profile):
 
            raise CIMException('a retrieval request must conform to one of the retrieval interfaces')
 
        return RetrieveProfileResult(self._request())
           not IAuthnetProfileDeleteShipping.providedBy(self.options.profile):
 
            raise CIMException('a removal request must conform to one of the deletion interfaces')
 
        return RemoveProfileResult(self._request())