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

Class: Services_Akismet2_HttpException

Source Location: /Services_Akismet2-0.3.1/Services/Akismet2/HttpException.php

Class Overview

PEAR_Exception
   |
   --Services_Akismet2_HttpException

This exception is thrown when a HTTP communication error occurs


Author(s):

Copyright:

  • 2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 65]
This exception is thrown when a HTTP communication error occurs


[ Top ]


Method Detail

__construct (Constructor)   [line 87]

Services_Akismet2_HttpException __construct( string $message, integer $code, HTTP_Request2 $request)

Creates a new HTTP error exception
  • Access: public

Parameters:

string   $message   —  the error message.
integer   $code   —  the error code.
HTTP_Request2   $request   —  the object used to make the request that failed.

[ Top ]

getRequest   [line 101]

HTTP_Request2 getRequest( )

Gets the object used to make the HTTP request that failed
  • Return: the HTTP request object that failed.
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.