Documentation is available at AssessmentException.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.assessment
- */
- class AssessmentException
- extends SharedException
- {
- /**
- * Unknown Section
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function UNKNOWN_SECTION () {
- return "Unknown Section ";
- }
- /**
- * Unknown Item
- * Note: This method is PHP's equivalent of a static field.
- *
- * @return string
- * @access public
- * @static
- */
- function UNKNOWN_ITEM () {
- return "Unknown Item ";
- }
- function AssessmentException ( $message ) {
- die($message);
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:21:32 -0400 by phpDocumentor 1.3.0RC3