Maileon PHP client  1.5.5
Easily integrate your PHP application with Maileon.
MaileonAPIException.php
1 <?php
2 
7 class com_maileon_api_MaileonAPIException extends RuntimeException
8 {
9  private $response;
10 
11  public function __construct($message = "", $response = false, $code = 0,
12  Exception $previous = null)
13  {
14  parent::__construct($message, $code, $previous);
15  $this->response = $response;
16  }
17 
23  public function getResponse()
24  {
25  return $this->response;
26  }
27 }
28 
29 ?>