/usr/share/php/kohana3.2/system/classes/kohana/validation/exception.php is in libkohana3.2-core-php 3.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Kohana
* @category Exceptions
* @author Kohana Team
* @copyright (c) 2009-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_Validation_Exception extends Kohana_Exception {
/**
* @var object Validation instance
*/
public $array;
/**
* @param Validation $array Validation object
* @param string $message error message
* @param array $values translation variables
* @param int $code the exception code
*/
public function __construct(Validation $array, $message = 'Failed to validate array', array $values = NULL, $code = 0)
{
$this->array = $array;
parent::__construct($message, $values, $code);
}
} // End Kohana_Validation_Exception
|