PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/jairosvt/public_html/publicidadaf/lib/OA/
Server: Linux server2.noticiasdecolima.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64
IP: 107.161.180.42
Choose File :

Url:
Dir : /home/jairosvt/public_html/publicidadaf/lib/OA/BaseObjectWithErrors.php

<?php

/*
+---------------------------------------------------------------------------+
| Revive Adserver                                                           |
| http://www.revive-adserver.com                                            |
|                                                                           |
| Copyright: See the COPYRIGHT.txt file.                                    |
| License: GPLv2 or later, see the LICENSE.txt file.                        |
+---------------------------------------------------------------------------+
*/

/**
 * @package    OpenX
 */

/**
 *  Base class for all classes with error handling
 *
 */
class OA_BaseObjectWithErrors
{
    /**
     * Error Message
     *
     * @access private
     * @var string $_errorMessage
     */
	var $_errorMessage;

	/**
	 * Constructor
	 *
	 */
	function BaseObjectWithErrors()
	{
		$this->clearErrors();
	}

	/**
	 * Clear Errors
	 *
	 */
	function clearErrors()
	{
		$this->_errorMessage = "";
	}

	/**
	 * Get Last added Error
	 *
	 */
	function getLastError()
	{
		return $this->_errorMessage;
	}

	/**
	 * Added error message
	 *
     * @param string $errorMessage
	 */
	function raiseError($errorMessage)
	{
	    $this->_errorMessage = $errorMessage;
	}
}

?>