Initial Commit

This commit is contained in:
GiacomoHome
2021-09-17 12:41:45 +02:00
commit 9001e4656e
570 changed files with 31013 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
class App_Exception_MessageException extends Zend_Exception
{
protected $_appMessage;
protected $_appCode;
protected $_type;
const EXCEPTION_APP_MESSAGE='personalMessage';
const EXPECTION_FATTURAFE_NOTFOUND_ON2C = "EXPECTION_FATTURAFE_NOTFOUND_ON2C";
public function __construct($message,$code = null)
{
$this->message = $message;
$this->_appMessage=$message;
$this->_appCode=$code;
}
public function getAppMessage(){
return $this->_appMessage;
}
public function getAppCode(){
return $this->_appCode;
}
}
@@ -0,0 +1,23 @@
<?php
class App_Exception_ResponseCloudException extends Zend_Rest_Exception
{
protected $_message;
protected $_errorCode;
public function __construct($message,$errorCode)
{
parent::__construct($message);
$this->_message = $message;
$this->_errorCode=$errorCode;
}
public function getMyMessage(){
return $this->_message;
}
public function getErrorCode(){
return $this->_errorCode;
}
}