Documentation is available at LoggingException.php
- <?php
- include_once(dirname(__FILE__)."/../shared/SharedException.php");
- /**
- * OsidException or one of its subclasses is thrown by all methods of all
- * interfaces of an Open Service Interface Definition (OSID). This requires
- * the caller of an OSID package method handle the OsidException. Since the
- * application using an OSID can not determine where an implementation method
- * will ultimately execute, it must assume a worst case scenerio and protect
- * itself. OSID Implementations should throw their own subclasses of
- * OsidException and limit exception messages to those predefined by their own
- * OsidException or its superclasses. This approach to exception messages
- * allows Applications and OSID implementations using an OsidException's
- * predefined messages to handle exceptions in an interoperable way.
- *
- * <p>
- * OSID Version: 2.0
- * </p>
- *
- * <p>
- * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
- * O.K.I. OSID Definition License}.
- * </p>
- *
- * @package org.osid.logging
- */
- class LoggingException
- extends SharedException
- {
- /**
- * Unknown name
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function UNKNOWN_NAME () {
- return "Unknown log name ";
- }
- /**
- * Duplicate name
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function DUPLICATE_NAME () {
- return "Duplicate log name ";
- }
- /**
- * Default priority Type not set
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function PRIORITY_TYPE_NOT_SET () {
- return "PriorityType not set ";
- }
- /**
- * Default format Type not set
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function FORMAT_TYPE_NOT_SET () {
- return "FormatType not set ";
- }
- function LoggingException ( $message ) {
- die($message);
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:24:54 -0400 by phpDocumentor 1.3.0RC3