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

Class: Net_DNS2_Exception

Source Location: /Net_DNS2-1.4.1/Net/DNS2/Exception.php

Class Overview

Exception
   |
   --Net_DNS2_Exception

Exception handler used by Net_DNS2


Author(s):

Methods


Inherited Variables

Class: Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace

Inherited Methods

Class: Exception (Internal Class)

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

Class Details

[line 61]
Exception handler used by Net_DNS2


[ Top ]


Method Detail

__construct (Constructor)   [line 79]

Net_DNS2_Exception __construct( [string $message = ''], [int $code = 0], [object $previous = null], [Net_DNS2_Packet_Request $request = null], [Net_DNS2_Packet_Response $response = null])

Constructor - overload the constructor so we can pass in the request and response object (when it's available)
  • Access: public

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

Parameters:

string   $message   —  the exception message
int   $code   —  the exception code
object   $previous   —  the previous Exception object
object   $request   —  the Net_DNS2_Packet_Request object for this request
object   $response   —  the Net_DNS2_Packet_Response object for this request

[ Top ]

getRequest   [line 116]

Net_DNS2_Packet_Request getRequest( )

returns the Net_DNS2_Packet_Request object (if available)
  • Return: object
  • Since: function available since release 1.3.1
  • Access: public

[ Top ]

getResponse   [line 129]

Net_DNS2_Packet_Response getResponse( )

returns the Net_DNS2_Packet_Response object (if available)
  • Return: object
  • Since: function available since release 1.3.1
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.