Class HierarchyException

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/hierarchy/HierarchyException.php (line 27)

OsidException
   |
   --SharedException
      |
      --HierarchyException
Method Summary
HierarchyException HierarchyException (mixed $message)
string INCONSISTENT_STATE ()
string NODE_TYPE_IN_USE ()
Methods
Constructor HierarchyException (line 152)
HierarchyException HierarchyException (mixed $message)
ATTEMPTED_RECURSION (line 75)

Hierarchy does not allow recursion Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string ATTEMPTED_RECURSION ()
HIERARCHY_NOT_EMPTY (line 50)

Cannot delete a Hierarchy containing Nodes Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string HIERARCHY_NOT_EMPTY ()
INCONSISTENT_STATE (line 99)

Removing parent will result in an inconsistent state Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string INCONSISTENT_STATE ()
NODE_TYPE_IN_USE (line 147)

Cannot remove NodeType referenced by a Node Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string NODE_TYPE_IN_USE ()
NODE_TYPE_NOT_FOUND (line 135)

NodeType has never been added Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string NODE_TYPE_NOT_FOUND ()
SINGLE_PARENT_HIERARCHY (line 87)

Hierarchy does not allow multiple parents Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string SINGLE_PARENT_HIERARCHY ()
UNKNOWN_PARENT_NODE (line 38)

Cannot create Node without unknown parent Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string UNKNOWN_PARENT_NODE ()
UNKNOWN_TRAVERSAL_DIRECTION (line 123)

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

  • static:
  • access: public
string UNKNOWN_TRAVERSAL_DIRECTION ()
UNKNOWN_TRAVERSAL_MODE (line 111)

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

  • static:
  • access: public
string UNKNOWN_TRAVERSAL_MODE ()
UNSUPPORTED_CREATION (line 63)

Hierarchy does not support allowsMultipleParents is false and allowsRecursion is true Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string UNSUPPORTED_CREATION ()

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:24:32 -0400 by phpDocumentor 1.3.0RC3