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

Class: HTTP_Session2_Exception

Source Location: /HTTP_Session2-0.7.3/HTTP/Session2/Exception.php

Class Overview

PEAR_Exception
   |
   --HTTP_Session2_Exception

HTTP_Session2_Exception


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 63]
HTTP_Session2_Exception

PHP version 5



[ Top ]


Class Variables

$exceptionStack = array()

[line 68]

  • Var: To add an exception, when we re-throw.
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 80]

HTTP_Session2_Exception __construct( string $message, [mixed $code = null], [mixed $exception = null])

__construct
  • Access: public
  • Uses: self::$exceptionStack
  • Uses: parent::__construct()

Parameters:

string   $message   —  An error message.
mixed   $code   —  An error code.
mixed   $exception   —  The previous exception, when we re-throw [optional]

[ Top ]

getExceptionStack   [line 106]

array getExceptionStack( )

Return all stacked exceptions
  • Access: public
  • Uses: self::$exceptionStack

[ Top ]

__toString   [line 95]

string __toString( )

__toString() implementation for lazy coders like me :)
  • Access: public
  • Uses: parent::$message
  • Uses: parent::$code

[ Top ]


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