Solar_Base::_exception()
protected
Solar_Exception
Solar_Base::_exception
( string $code
, array $info = array ()
)
Convenience method for returning exceptions with localized text.
Parameters
(string)
$code
: The error code; does additional duty as the locale string key and the exception class name suffix.(array)
$info
: An array of error-specific data.
Returns
(Solar_Exception) An instanceof Solar_Exception.
Description
Convenience method for returning exceptions with localized text.