|
Previous Page |
Solar_Http_Request_Adapter |
Next Page |
_exception()
protected
Solar_Exception
_exception (
string $code,
array $info default array ()
)
Convenience method for returning exceptions with localized text.
Inherited from Solar_Base.
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.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _exception()
- _fetch()
- _parseCookie()
- _prepareRequest()
- apiVersion()
- dump()
- fetch()
- fetchRaw()
- getContent()
- getOptions()
- locale()
- setBasicAuth()
- setCharset()
- setContent()
- setContentType()
- setCookie()
- setHeader()
- setMaxRedirects()
- setMethod()
- setProxy()
- setSslCafile()
- setSslCapath()
- setSslLocalCert()
- setSslPassphrase()
- setSslVerifyPeer()
- setTimeout()
- setUri()
- setUserAgent()
- setVersion()