Validate_Exception
» Kohana_Validate_Exception
» Kohana_Exception
» Exception

Kohana exception class. Converts exceptions into HTML messages.

package
Exception
author
Kohana Team
copyright
© 2008-2009 Kohana Team
license
http://kohanaphp.com/license.html

Properties

public object array
Validate instance

Methods

public __construct ( string $array, array $message = 'Failed to validate array' )

Creates a new translated exception.

Returns:
  • void
Source:
public function __construct(Validate $array, $message = 'Failed to validate array', array $values = NULL, $code = 0)
{
	$this->array = $array;

	parent::__construct($message, $values, $code);
}

public __toString ( )

Magic object-to-string method.

Returns:
  • string
Source:
public function __toString()
{
	return Kohana::exception_text($this);
}
uses
Kohana::exception_text

final private __clone ( )

final public getMessage ( )

final public getCode ( )

final public getFile ( )

final public getLine ( )

final public getTrace ( )

final public getTraceAsString ( )