Class SqlException

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/sql/SqlException.php (line 27)

OsidException
   |
   --SharedException
      |
      --SqlException
Method Summary
SqlException SqlException (mixed $message)
string CONNECTION_FAILED ()
string INVALID_ARGUMENTS ()
Methods
Constructor SqlException (line 104)
SqlException SqlException (mixed $message)
BLOB_GETBYTES_FAILED (line 38)

Blob get bytes failed Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string BLOB_GETBYTES_FAILED ()
CLOB_GETCHARS_FAILED (line 50)

Clob get chars failed Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string CLOB_GETCHARS_FAILED ()
CONNECTION_FAILED (line 62)

Connection failed Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string CONNECTION_FAILED ()
DATA_RETRIEVAL_ERROR (line 99)

Data retrieval error Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string DATA_RETRIEVAL_ERROR ()
INVALID_ARGUMENTS (line 74)

Invalid arguments Note: This method is PHP's equivalent of a static field.

  • static:
  • access: public
string INVALID_ARGUMENTS ()
INVALID_COLUMN_INDEX (line 87)

Invalid column index. Note that column numbering begins with one, not zero.

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

  • static:
  • access: public
string INVALID_COLUMN_INDEX ()

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:26:39 -0400 by phpDocumentor 1.3.0RC3