Back to index

d-push  2.0
Public Member Functions | Public Attributes | Protected Attributes
NoPostRequestException Class Reference
Inheritance diagram for NoPostRequestException:
Inheritance graph
[legend]
Collaboration diagram for NoPostRequestException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ZPushException ($message="", $code=0, $previous=NULL, $logLevel=false)
 getHTTPCodeString ()
 getHTTPHeaders ()
 showLegalNotice ()

Public Attributes

const OPTIONS_REQUEST = 1
const GET_REQUEST = 2

Protected Attributes

 $defaultLogLevel = LOGLEVEL_DEBUG
 $httpReturnCode = HTTP_CODE_500
 $httpReturnMessage = "Internal Server Error"
 $httpHeaders = array()
 $showLegal = true

Detailed Description

Definition at line 45 of file nopostrequestexception.php.


Member Function Documentation

Definition at line 62 of file zpushexception.php.

                                        {
        return $this->httpReturnCode . " ". $this->httpReturnMessage;
    }

Definition at line 66 of file zpushexception.php.

                                     {
        return $this->httpHeaders;
    }

Definition at line 70 of file zpushexception.php.

                                      {
        return $this->showLegal;
    }
ZPushException::ZPushException ( message = "",
code = 0,
previous = NULL,
logLevel = false 
) [inherited]

Definition at line 51 of file zpushexception.php.

                                                                                                  {
        if (! $message)
            $message = $this->httpReturnMessage;

        if (!$logLevel)
            $logLevel = $this->defaultLogLevel;

        ZLog::Write($logLevel, get_class($this) .': '. $message . ' - code: '.$code);
        parent::__construct($message, (int) $code);
    }

Here is the call graph for this function:


Member Data Documentation

Reimplemented from ZPushException.

Definition at line 48 of file nopostrequestexception.php.

ZPushException::$httpHeaders = array() [protected, inherited]

Reimplemented in AuthenticationRequiredException.

Definition at line 48 of file zpushexception.php.

Reimplemented in ProvisioningRequiredException, and AuthenticationRequiredException.

Definition at line 46 of file zpushexception.php.

ZPushException::$httpReturnMessage = "Internal Server Error" [protected, inherited]

Reimplemented in ProvisioningRequiredException, and AuthenticationRequiredException.

Definition at line 47 of file zpushexception.php.

ZPushException::$showLegal = true [protected, inherited]

Reimplemented in AuthenticationRequiredException, and HTTPReturnCodeException.

Definition at line 49 of file zpushexception.php.

Definition at line 47 of file nopostrequestexception.php.

Definition at line 46 of file nopostrequestexception.php.


The documentation for this class was generated from the following file: