Ejemplo n.º 1
0
 /**
  * @param JobExecution $jobExecution
  * @return array
  */
 protected function collectFailureExceptions(JobExecution $jobExecution)
 {
     $failureExceptions = array();
     foreach ($jobExecution->getAllFailureExceptions() as $exceptionData) {
         if (!empty($exceptionData['message'])) {
             $failureExceptions[] = $exceptionData['message'];
         }
     }
     return $failureExceptions;
 }
 /**
  * {@inheritDoc}
  */
 public function getAllFailureExceptions()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAllFailureExceptions', array());
     return parent::getAllFailureExceptions();
 }