<?php
/**
 * This file is part of the set of the DDR Simple API definition. It contains the
 * definition of the {@link DDRException} class.
 * 
 * @author Sylvain Lequeux
 * @author Francois Daoust <fd@w3.org>
 * @package AskPythia
 * @subpackage Interface
 * @version $Revision: 1.8 $
 * @license http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231.html W3C Software Notice and License
 * @copyright Copyright (c) 2009, W3C (MIT, ERCIM, Keio)
 */

/**
 * {@link http://www.w3.org/TR/DDR-Simple-API/#sec-DDRException DDRException}
 * class as defined in the {@link http://www.w3.org/TR/DDR-Simple-API/
 * DDR Simple API} standard.
 * 
 * This exception is the superclass of all DDR Simple API exceptions other
 * than {@link SystemException}.
 * 
 * This exception should not be raised directly. Subclasses of the exceptions
 * such as {@link InitializationException}, {@link NameException},
 * {@link ValueException}, or any other implementation specific subclass should
 * rather be thrown. 
 * 
 * @author Sylvain Lequeux
 * @author Francois Daoust <fd@w3.org>
 * @package AskPythia
 * @subpackage Interface
 * @link http://www.w3.org/TR/DDR-Simple-API/ Device Description Repository Simple API
 * @version $Revision: 1.8 $
 * @license http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231.html W3C Software Notice and License
 * @copyright Copyright (c) 2009, W3C (MIT, ERCIM, Keio)
 */
class DDRException extends Exception {
	/**
	 * @var int This code may be used by implementations to create custom error codes.
	 *          All implementation specific codes must be greater than this value.
	 */
	static public $IMPLEMENTATION_ERROR = 65536;
}