Exception class for Zend_TimeSync

category Zend
package Zend_TimeSync
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Exception

 Methods

Overloading

__call(string $method, array $args) : mixed
Inherited

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters

$method

string

$args

array

Returns

mixed

Construct the exception

__construct(string $msg = '', integer $code = 0, \Exception $previous = null) : void
Inherited

Parameters

$msg

string

$code

integer

$previous

\Exception

String representation of the exception

__toString() : string
Inherited

Returns

string

Adds an exception to the exception list

addException(\Zend_TimeSync_Exception $exception) : void

Parameters

$exception

\Zend_TimeSync_Exception

New exteption to throw

Returns an array of exceptions that were thrown

get() : array

Returns

array

Returns previous Exception

_getPrevious() : \Exception | null
Inherited

Returns

\Exceptionnull

 Properties

 

Contains array of exceptions thrown in queried server

$_exceptions : array

Default

 

$_previous

$_previous : null | \Exception

Default

null