public function __construct($code, $message, $paramName = null)
 {
     $this->param = $paramName;
     $this->message = $message;
     $this->code = $code;
     parent::__construct($message);
 }
 public function __construct($transactionId, $code, $message, $processorCode = null, $processorMessage = null, $innerException = null)
 {
     $this->transactionId = $transactionId;
     $this->code = $code;
     if ($processorCode != null || $processorMessage != null) {
         $this->details = new HpsProcessorExceptionDetails();
         $this->details->processorResponseCode = $processorCode;
         $this->details->processorResponseText = $processorMessage;
         parent::__construct($message, $code, $innerException);
     }
 }
 public function __construct($transactionId, $code, $message, $issuerCode = null, $issuerMessage = null, $innerException = null)
 {
     $this->transactionId = $transactionId;
     $this->code = $code;
     if ($issuerCode != null || $issuerMessage != null) {
         $this->details = new HpsCreditExceptionDetails();
         $this->details->issuerResponseCode = $issuerCode;
         $this->details->issuerResponseText = $issuerMessage;
         parent::__construct($message, $code, $innerException);
     }
 }
 function __construct($message, $code, $innerException = null)
 {
     parent::__construct($message, $code, $innerException);
 }
 public function __construct($message, $param = null, $code = null, $innerException = null)
 {
     $this->param = $param;
     parent::__construct($message, $code, $innerException);
 }
 public function __construct($message)
 {
     parent::__construct($message, null);
 }
 public function __construct($transactionId, $code, $message, $resultText = null)
 {
     $this->TransactionId = $transactionId;
     $this->ResultText = $resultText;
     parent::__construct($message, $code);
 }
示例#8
0
 public function __construct($transactionId, $code, $message)
 {
     $this->TransactionId = $transactionId;
     parent::__construct($message, $code);
 }
 /**
  * Instantiates new HpsUnknownPropertyException.
  *
  * @param object       $obj
  * @param string       $property
  * @param int          $code
  * @param HpsException $inner
  *
  * @return HpsUnknownPropertyException
  */
 public function __construct($obj, $property, $code = 0, HpsException $inner = null)
 {
     $className = get_class($obj);
     $message = 'Failed to set non-existent property "' . $property . '" on class "' . $className . '"';
     parent::__construct($message, $code, $inner);
 }