Skip to content

Vuzit_ClientException

bmatzelle edited this page Sep 13, 2010 · 1 revision

Vuzit::ClientException class

Error handling class for VuzitRuby.

Constructors

All of the constructors for the class.

  • static Vuzit::ClientException : Base constructor.

Instance Properties

The instance properties.

  • string message : Error message.
  • int code : Error code.

Usage Example


begin
  doc = Vuzit::Document.upload("c:/path/to/document.pdf")
rescue Vuzit::ClientException => ex
  puts "Error uploading the document [" + ex.code + "]: " + ex.message
end

Clone this wiki locally