public
Description: PHP 5 library for the Vuzit AJAX document viewer web services API
Home | Edit | New

Vuzit_ClientException

Vuzit_ClientException class

Error handling class for VuzitPHP.

Constructors

All of the constructors for the class.

  • static Vuzit_ClientException : Base constructor.

Instance Properties

The instance properties.

  • string getMessage() : Error message.
  • int getCode() : Error code.

Usage Example


try
{
  $doc = Vuzit_Document::upload("c:/path/to/document.pdf");  
}
catch(Vuzit_ClientException $ex)
{
  echo "Error uploading the document [" . $ex->getCode() . "]: " . ex->getMessage();
}

Last edited by bmatzelle, Fri Oct 23 11:59:03 -0700 2009
Home | Edit | New
Versions: