Class SharedException

Description

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 org.osid.SidImplementationLicenseMIT. </p>

Located in /harmoni/oki2/osid/shared/SharedException.php (line 27)

OsidException
   |
   --SharedException
Direct descendents
Class Description
AgentException OsidException or one of its subclasses is thrown by all methods of all
AssessmentException OsidException or one of its subclasses is thrown by all methods of all
AuthenticationException OsidException or one of its subclasses is thrown by all methods of all
AuthorizationException All methods of all interfaces of the Open Service Interface Definition
CourseManagementException OsidException or one of its subclasses is thrown by all methods of all
DictionaryException OsidException or one of its subclasses is thrown by all methods of all
FilingException All methods of all interfaces of the Open Service Interface Definition
GradingException OsidException or one of its subclasses is thrown by all methods of all
HierarchyException OsidException or one of its subclasses is thrown by all methods of all
IdException OsidException or one of its subclasses is thrown by all methods of all
LoggingException OsidException or one of its subclasses is thrown by all methods of all
RepositoryException OsidException or one of its subclasses is thrown by all methods of all
SchedulingException OsidException or one of its subclasses is thrown by all methods of all
SqlException OsidException or one of its subclasses is thrown by all methods of all
UsermessagingException OsidException or one of its subclasses is thrown by all methods of all
WorkflowException OsidException or one of its subclasses is thrown by all methods of all
Method Summary
SharedException SharedException (mixed $message)
string ALREADY_ADDED ()
string CIRCULAR_OPERATION ()
string UNKNOWN_ID ()
string UNKNOWN_KEY ()
string UNKNOWN_TYPE ()
Methods
Constructor SharedException (line 103)
SharedException SharedException (mixed $message)
ALREADY_ADDED (line 74)

Object already added Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string ALREADY_ADDED ()
CIRCULAR_OPERATION (line 86)

Circular operation Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string CIRCULAR_OPERATION ()
NO_MORE_ITERATOR_ELEMENTS (line 62)

Iterator has no more elements Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string NO_MORE_ITERATOR_ELEMENTS ()
UNKNOWN_ID (line 38)

Unknown Id Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string UNKNOWN_ID ()
UNKNOWN_KEY (line 98)

Unknown key Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string UNKNOWN_KEY ()
UNKNOWN_TYPE (line 50)

Unknown or unsupported Type Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string UNKNOWN_TYPE ()

Inherited Methods

Inherited From OsidException

OsidException::OsidException()
OsidException::ALREADY_MARKED()
OsidException::CONFIGURATION_ERROR()
OsidException::ERROR_ASSIGNING_CONFIGURATION()
OsidException::ERROR_ASSIGNING_CONTEXT()
OsidException::INTERFACE_NOT_FOUND()
OsidException::MANAGER_INSTANTIATION_ERROR()
OsidException::MANAGER_NOT_FOUND()
OsidException::MANAGER_NOT_OSID_IMPLEMENTATION()
OsidException::NOTHING_MARKED()
OsidException::NULL_ARGUMENT()
OsidException::OPERATION_FAILED()
OsidException::PERMISSION_DENIED()
OsidException::UNIMPLEMENTED()
OsidException::VERSION_ERROR()

Documentation generated on Wed, 19 Sep 2007 10:26:28 -0400 by phpDocumentor 1.3.0RC3