Skip to content

com_vuzit_ClientException

bmatzelle edited this page Feb 28, 2011 · 3 revisions

com.vuzit.ClientException class

Error handling class for VuzitJava web clients.

Constructors

All of the constructors for the class.

  • static ClientException : Base constructor.

Instance Property Methods

The instance property methods.

  • String getMessage : Error message.
  • int getCode : Error code.

Usage Example


try
{
  com.vuzit.Document doc = com.vuzit.Document.upload("c:/path/to/document.pdf");  
}
catch(com.vuzit.ClientException ex)
{
  System.out.println("Error uploading the document [" + ex.getCode() + "]: " +  ex.getMessage());
}

Clone this wiki locally