00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00023 class PEIP_Error_Message extends PEIP_Generic_Message implements PEIP_INF_Message { 00024 00025 protected $payload; 00026 00027 protected $headers; 00028 00029 00036 public function __construct(Exception $payload, array $headers = array()){ 00037 $this->payload = $payload; 00038 $this->headers = $headers; 00039 } 00040 00041 00042 00043 00044 00045 }