SproutCMS

This is the code documentation for the SproutCMS project

class Kohana_Exception

Creates a generic i18n exception.

Source code (24 results)

/sprout/core/Kohana.php   Highlighted file source

Line 908: * @throws Kohana_Exception if file is required and not found
Line 991: throw new Kohana_Exception('core.resource_not_found', self::lang($directory), $filename);
Line 1520: class Kohana_Exception extends Exception
Line 1588: class Kohana_User_Exception extends Kohana_Exception
Line 1610: class Kohana_404_Exception extends Kohana_Exception

/sprout/Helpers/Archive.php   Highlighted file source

Line 18: use Kohana_Exception;
Line 38: * @throws Kohana_Exception
Line 57: throw new Kohana_Exception('core.driver_implements', $type, get_class($this), 'ArchiveDriver');
Line 111: * @throws Kohana_Exception
Line 121: throw new Kohana_Exception('archive.directory_unwritable', $directory);
Line 127: throw new Kohana_Exception('archive.filename_conflict', $filename);

/sprout/Helpers/Cache.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 74: throw new Kohana_Exception('cache.undefined_group', $name);
Line 96: throw new Kohana_Exception('core.driver_not_found', $this->config['driver'], get_class($this));
Line 103: throw new Kohana_Exception('core.driver_implements', $this->config['driver'], get_class($this), 'CacheDriver');
Line 159: throw new Kohana_Exception('cache.resources');

/sprout/Helpers/Cors.php   Highlighted file source

Line 17: use Kohana_Exception;
Line 81: * @throws Kohana_Exception

/sprout/Helpers/Drivers/Cache/Eaccelerator.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 33: throw new Kohana_Exception('cache.extension_not_loaded', 'eaccelerator');

/sprout/Helpers/Drivers/Cache/File.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 42: throw new Kohana_Exception('cache.unwritable', $directory);

/sprout/Helpers/Drivers/Cache/Memcache.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 45: throw new Kohana_Exception('cache.extension_not_loaded', 'memcache');

/sprout/Helpers/Drivers/Cache/Xcache.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 33: throw new Kohana_Exception('cache.extension_not_loaded', 'xcache');

/sprout/Helpers/Drivers/Image/GD.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 40: throw new Kohana_Exception('image.gd.requires_v2');
Line 47: throw new Kohana_Exception('image.gd.requires_v2');
Line 83: throw new Kohana_Exception('image.type_not_allowed', $image['file']);
Line 87: throw new Kohana_Exception('image.type_not_allowed', $dir.$file);
Line 339: throw new Kohana_Exception('image.unsupported_method', __FUNCTION__);

/sprout/Helpers/Drivers/Image/GraphicsMagick.php   Highlighted file source

Line 18: use Kohana_Exception;
Line 42: * @throws Kohana_Exception
Line 52: throw new Kohana_Exception('image.graphicsmagick.not_found');
Line 62: throw new Kohana_Exception('image.graphicsmagick.not_found', 'gm'.$this->ext);

/sprout/Helpers/Drivers/Image/ImageMagick.php   Highlighted file source

Line 18: use Kohana_Exception;
Line 42: * @throws Kohana_Exception
Line 52: throw new Kohana_Exception('image.imagemagick.not_found');
Line 62: throw new Kohana_Exception('image.imagemagick.not_found', 'convert'.$this->ext);

/sprout/Helpers/Drivers/Session/Cache.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 69: throw new Kohana_Exception('cache.undefined_group', $name);

/sprout/Helpers/Encrypt.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 55: * @throws Kohana_Exception
Line 60: throw new Kohana_Exception('encrypt.requires_mcrypt');
Line 68: throw new Kohana_Exception('encrypt.undefined_group', $name);
Line 83: throw new Kohana_Exception('encrypt.no_encryption_key');

/sprout/Helpers/Event_Observer.php   Highlighted file source

Line 18: use Kohana_Exception;
Line 51: throw new Kohana_Exception('event.invalid_subject', get_class($caller), get_class($this));

/sprout/Helpers/Event_Subject.php   Highlighted file source

Line 18: use Kohana_Exception;
Line 39: throw new Kohana_Exception('eventable.invalid_observer', get_class($obj), get_class($this));

/sprout/Helpers/Image.php   Highlighted file source

Line 21: use Kohana_Exception;
Line 76: * @throws Kohana_Exception
Line 89: throw new Kohana_Exception('image.getimagesize_missing');
Line 93: throw new Kohana_Exception('image.file_not_found', $image);
Line 106: throw new Kohana_Exception('image.file_unreadable', $image);
Line 110: throw new Kohana_Exception('image.type_not_allowed', $image);
Line 131: throw new Kohana_Exception('core.driver_not_found', $this->config['driver'], get_class($this));
Line 138: throw new Kohana_Exception('core.driver_implements', $this->config['driver'], get_class($this), 'ImageDriver');
Line 155: throw new Kohana_Exception('core.invalid_property', $property, get_class($this));
Line 165: * @throws Kohana_Exception
Line 174: throw new Kohana_Exception('image.invalid_width', $width);
Line 177: throw new Kohana_Exception('image.invalid_height', $height);
Line 180: throw new Kohana_Exception('image.invalid_dimensions', __FUNCTION__);
Line 188: throw new Kohana_Exception('image.invalid_master');
Line 205: * @throws Kohana_Exception
Line 215: throw new Kohana_Exception('image.invalid_width', $width);
Line 218: throw new Kohana_Exception('image.invalid_height', $height);
Line 221: throw new Kohana_Exception('image.invalid_top', $top);
Line 224: throw new Kohana_Exception('image.invalid_left', $left);
Line 227: throw new Kohana_Exception('image.invalid_dimensions', __FUNCTION__);
Line 278: * @throws Kohana_Exception
Line 285: throw new Kohana_Exception('image.invalid_flip');
Line 321: * @throws Kohana_Exception
Line 340: throw new Kohana_Exception('image.directory_unwritable', $dir);

/sprout/Helpers/Request.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 93: * @throws Kohana_Exception in case of an unknown request method
Line 101: throw new Kohana_Exception('request.unknown_method', $method);

/sprout/Helpers/Router.php   Highlighted file source

Line 22: use Kohana_Exception;
Line 76: throw new Kohana_Exception('core.no_default_route');

/sprout/Helpers/Session.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 127: throw new Kohana_Exception('core.driver_not_found', Session::$config['driver'], get_class());
Line 134: throw new Kohana_Exception('core.driver_implements', Session::$config['driver'], get_class(), 'SessionDriver');
Line 150: throw new Kohana_Exception('session.invalid_session_name', Session::$config['name']);

/sprout/Helpers/TwigSkinLoader.php   Highlighted file source

Line 16: use Kohana_Exception;
Line 56: * @throws Kohana_Exception

/sprout/Helpers/TwigView.php   Highlighted file source

Line 16: use Kohana_Exception;
Line 67: throw new Kohana_Exception('core.view_set_filename');

/sprout/Helpers/Upload.php   Highlighted file source

Line 19: use Kohana_Exception;
Line 71: throw new Kohana_Exception('upload.not_writable', $directory);

/sprout/Helpers/View.php   Highlighted file source

Line 20: use Kohana_Exception;
Line 41: * @throws Kohana_Exception if the requested view cannot be found
Line 240: throw new Kohana_Exception('core.view_set_filename');

A total of 94 lines in 24 files were found