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

Class: HTTP_OAuth_Consumer_Exception_InvalidResponse

Source Location: /HTTP_OAuth-0.3.1/HTTP/OAuth/Consumer/Exception/InvalidResponse.php

Class Overview

PEAR_Exception
   |
   --HTTP_OAuth_Exception
      |
      --HTTP_OAuth_Consumer_Exception_InvalidResponse

HTTP_OAuth_Consumer_Exception_InvalidResponse


Author(s):

Copyright:

  • 2009 Jeff Hodsdon <jeffhodsdon@gmail.com>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 39]
HTTP_OAuth_Consumer_Exception_InvalidResponse

Exception for invalid responses from OAuth providers. Supplies methods to get information about the request



[ Top ]


Class Variables

$response =  null

[line 47]

HTTP_OAuth_Consumer_Response instance
  • Var: Invalid response
  • Access: public



[ Top ]



Method Detail

__construct (Constructor)   [line 57]

void __construct( string $message, HTTP_OAuth_Consumer_Response $response)

Construct
  • Access: public

Overrides HTTP_OAuth_Exception::__construct() (Construct)

Parameters:

string   $message   —  Exception message
HTTP_OAuth_Consumer_Response   $response   —  Invalid response

[ Top ]

__call   [line 77]

mixed __call( string $method, array $args)

Call

If method exists on self::$response pass to that, otherwise throw BadMethodCallException

  • Return: Result from method
  • Throws: BadMethodCallException When method does not exist on self::$response
  • Access: public

Parameters:

string   $method   —  Name of the method
array   $args   —  Arguments for the method

[ Top ]


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