Changeset 2667 for trunk/system/libraries/Payment.php
- Timestamp:
- 05/13/2008 02:23:53 AM (6 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Payment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Payment.php
r2209 r2667 75 75 // Load the driver 76 76 if ( ! Kohana::auto_load($driver)) 77 throw new Kohana_Exception(' payment.driver_not_supported', $this->config['driver']);77 throw new Kohana_Exception('core.driver_not_found', $this->config['driver'], get_class($this)); 78 78 79 79 // Get the driver specific settings … … 85 85 // Validate the driver 86 86 if ( ! ($this->driver instanceof Payment_Driver)) 87 throw new Kohana_Exception(' payment.driver_implements', $this->config['driver']);87 throw new Kohana_Exception('core.driver_implements', $this->config['driver'], get_class($this), 'Payment_Driver'); 88 88 } 89 89
