OAuth::setVersion
SCA
OAuth
PHP Manual

# OAuthException class

## Introduction

This exception is thrown when exceptional errors when using the OAuth extension and contains useful debugging information.

## Class synopsis

OAuthException
OAuthException extends Exception {
/* Properties */
public $lastResponse ;
/* Inherited methods */
final public string Exception::getMessage ( void )
final public int Exception::getCode ( void )
final public string Exception::getFile ( void )
final public string Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private string Exception::__clone ( void )
}

## Properties

message

  A human readable message about what went wrong

code

  Exception code

file

  File where exception was thrown

line

  File where exception was thrown

lastResponse

  The response of the exception which occured, if any

OAuth::setVersion
SCA
OAuth
PHP Manual