Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_TimeSync_Exception Class Reference
Inheritance diagram for Zend_TimeSync_Exception:
Zend_Exception

Public Member Functions

 addException (Zend_TimeSync_Exception $exception)
 
 get ()
 
- Public Member Functions inherited from Zend_Exception
 __construct ($msg='', $code=0, Exception $previous=null)
 
 __call ($method, array $args)
 
 __toString ()
 

Protected Attributes

 $_exceptions
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 

Detailed Description

Definition at line 35 of file Exception.php.

Member Function Documentation

◆ addException()

addException ( Zend_TimeSync_Exception  $exception)

Adds an exception to the exception list

Parameters
Zend_TimeSync_Exception$exceptionNew exteption to throw
Returns
void

Definition at line 50 of file Exception.php.

51  {
52  $this->_exceptions[] = $exception;
53  }

◆ get()

get ( )

Returns an array of exceptions that were thrown

Returns
array

Definition at line 60 of file Exception.php.

61  {
62  return $this->_exceptions;
63  }

Field Documentation

◆ $_exceptions

$_exceptions
protected

Definition at line 42 of file Exception.php.


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