Services_Twitter
[ class tree: Services_Twitter ] [ index: Services_Twitter ] [ all elements ]

Class: Services_Twitter_Exception

Source Location: /Services_Twitter-0.6.3/Services/Twitter/Exception.php

Class Overview

PEAR_Exception
   |
   --Services_Twitter_Exception

Exception raised by this package.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 35]
Exception raised by this package.


[ Top ]


Class Variables

$call =  ''

[line 44]

Call to the API that created the error
  • Access: protected

Type:   string


[ Top ]

$response =  ''

[line 51]

The HTTP response returned by the API
  • Access: protected

Type:   HTTP_Request2_Response


[ Top ]



Method Detail

__construct (Constructor)   [line 68]

Services_Twitter_Exception __construct( [string $msg = null], [mixed $code = 0], [string $call = null], [HTTP_Request2_Response $resp = null])

Constructor.

Parameters:

string   $msg     Error message
mixed   $code     Error code or parent exception
string   $call     API call that generated error
HTTP_Request2_Response   $resp     The HTTP response instance

[ Top ]

getCall   [line 84]

string getCall( )

Return API call

[ Top ]

getResponse   [line 98]

HTTP_Request2_Response getResponse( )

Get the API HTTP response.

[ Top ]

__toString   [line 113]

string __toString( )

__toString

Overload PEAR_Exception's horrible __toString implementation.

  • Access: public

[ Top ]


Documentation generated on Sun, 12 Sep 2010 19:00:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.