Class RepositoryException

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/repository/RepositoryException.php (line 27)

OsidException
   |
   --SharedException
      |
      --RepositoryException
Method Summary
Methods
Constructor RepositoryException (line 91)
RepositoryException RepositoryException (mixed $message)
ALREADY_INHERITING_STRUCTURE (line 74)

Already inheriting this RecordStructure Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string ALREADY_INHERITING_STRUCTURE ()
CANNOT_COPY_OR_INHERIT_SELF (line 62)

Cannot copy or inherit RecordStructure from itself Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string CANNOT_COPY_OR_INHERIT_SELF ()
EFFECTIVE_PRECEDE_EXPIRATION (line 86)

Effective date must precede expiration date Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string EFFECTIVE_PRECEDE_EXPIRATION ()
NO_OBJECT_WITH_THIS_DATE (line 50)

No object has this date Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string NO_OBJECT_WITH_THIS_DATE ()
UNKNOWN_REPOSITORY (line 38)

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

  • static:
  • access: public
string UNKNOWN_REPOSITORY ()

Inherited Methods

Inherited From SharedException

SharedException::SharedException()
SharedException::ALREADY_ADDED()
SharedException::CIRCULAR_OPERATION()
SharedException::NO_MORE_ITERATOR_ELEMENTS()
SharedException::UNKNOWN_ID()
SharedException::UNKNOWN_KEY()
SharedException::UNKNOWN_TYPE()

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:25:58 -0400 by phpDocumentor 1.3.0RC3