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

Class: Payment_PayPal_SOAP_InvalidModeException

Source Location: /Payment_PayPal_SOAP-0.5.1/Payment/PayPal/SOAP/Exceptions.php

Class Overview

InvalidArgumentException
   |
   --Payment_PayPal_SOAP_InvalidModeException

Exception thrown when an invalid mode is used in the client constructor


Author(s):

Copyright:

  • 2008-2012 silverorange

Variables

Methods


Inherited Variables

Class: InvalidArgumentException (Internal Class)

$code
$file
$line
$message

Inherited Methods

Class: InvalidArgumentException (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
__wakeup ( )

Class Details

[line 77]
Exception thrown when an invalid mode is used in the client constructor


[ Top ]


Class Variables

$_mode =  ''

[line 90]

The invalid mode that was used

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 102]

Payment_PayPal_SOAP_InvalidModeException __construct( string $message, [integer $code = 0], [string $mode = ''])

Creates a new invalid mode exception
  • Access: public

Overrides InvalidArgumentException::constructor __construct ( [$message = ], [$code = ], [$previous = ] ) (parent method not documented)

Parameters:

string   $message   —  the exception message.
integer   $code   —  the exception code.
string   $mode   —  the invalid mode that was used.

[ Top ]

getMode   [line 118]

string getMode( )

Gets the invalid mode that was used
  • Return: the invalid mode that was used.
  • See: PaymentPayPal_SOAP_InvalidModeException::$_mode
  • Access: public

[ Top ]


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