Show
Ignore:
Timestamp:
05/13/2008 02:23:53 AM (6 months ago)
Author:
Geert
Message:

Follow-up to r2628. Using generic i18n messages for loading of drivers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Session.php

    r2649 r2667  
    6262                                // Load the driver 
    6363                                if ( ! Kohana::auto_load($driver)) 
    64                                         throw new Kohana_Exception('session.driver_not_supported', self::$config['driver']); 
     64                                        throw new Kohana_Exception('core.driver_not_found', self::$config['driver'], get_class($this)); 
    6565 
    6666                                // Initialize the driver 
     
    6969                                // Validate the driver 
    7070                                if ( ! (self::$driver instanceof Session_Driver)) 
    71                                         throw new Kohana_Exception('session.driver_implements', self::$config['driver']); 
     71                                        throw new Kohana_Exception('core.driver_implements', self::$config['driver'], get_class($this), 'Session_Driver'); 
    7272 
    7373                                // Register non-native driver as the session handler