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/Archive.php

    r2016 r2667  
    3434                // Load the driver 
    3535                if ( ! Kohana::auto_load($driver)) 
    36                         throw new Kohana_Exception('archive.driver_not_supported', $type); 
     36                        throw new Kohana_Exception('core.driver_not_found', $type, get_class($this)); 
    3737 
    3838                // Initialize the driver 
     
    4141                // Validate the driver 
    4242                if ( ! ($this->driver instanceof Archive_Driver)) 
    43                         throw new Kohana_Exception('archive.driver_implements', $type); 
     43                        throw new Kohana_Exception('core.driver_implements', $type, get_class($this), 'Archive_Driver'); 
    4444 
    4545                Log::add('debug', 'Archive Library initialized');