新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Gda::Error

class Gda::Error

Management of errors.

Class Methods

Gda::Error.new(description=nil, number=nil, source=nil, sqlstate=nil)
This method returns a newly created Gda::Error object.

Instance Methods

description
This method returns the description on thir error.
  • Returns: the description on thir error.
description=(description)
Sets the description of the error.
  • description: a textual description of the error.
  • Returns: the given parameter 'description'.
number
This method returns the number of this error.
  • Returns: the number of this error.
number=(number)
Sets the number of the error.
  • number: the number of the error.
  • Returns: the given parameter 'number'.
set_description(description)
Sets the description of the error.
  • description: a textual description of the error.
  • Returns: self.
set_number(number)
Sets the number of the error.
  • number: the number of the error.
  • Returns: self.
set_source(source)
Sets the source of the error.
  • source: the source of the error.
  • Returns: self.
set_sqlstate(sqlstate)
Sets the SQL state of the error.
  • sqlstate: SQL state for the error.
  • Returns: self.
source
This method returns the name of the source (usually provider's name).
  • Returns: the name of the source (usually provider's name).
source=(source)
Sets the source of the error.
  • source: the source of the error.
  • Returns: the given parameter 'source'.
sqlstate
This method returns the SQL state of this error.
  • Returns: the SQL state of this error.
sqlstate=(sqlstate)
Sets the SQL state of the error.
  • sqlstate: SQL state for the error.
  • Returns: the given parameter 'sqlstate'.

See Also

Gda.

- lrz?

更新日時:2003/12/13 05:18:03
キーワード:
参照:[Gda::Connection] [Gda::Client] [Gda::Error]