Location: PHPKode > projects > Content*Builder > contentbuilder/lib/CB_error.class.php
<?php

/**
 * Klasse zur Fehler Behandlung
 * 
 * @package CB Error Handling
 * @access public 
 * @author Jörg Stöber <hide@address.com> 
 * @version 0.1 ($Id: CB_error.class.php,v 1.1 2004/03/29 22:45:31 cb_fog Exp $)
 */
class CB_Error {
	function CB_error($message = "Unknown Error", $code = NULL) {
		$this->message = $message;
		$this->error   = $code;
	}
	
	function setError($code) {
		$this->error = $code;
	}
	
	function setMessage($message) {
		$this->message = $message;
	}
	
	function getMessage() {
		return $this->message;
	}
	
	function getError() {
		return $this->error;
	}
}
?>
Return current item: Content*Builder