codes.rb
Path: rice/codes.rb
Created: Tue Feb 12 17:19:20 EST 2002
Modified: Tue Feb 12 17:18:58 EST 2002

Copyright (c) 2001-2002 by Jim Menard <jimm@io.com>

Released under the same license as Ruby. See www.ruby-lang.org/en/LICENSE.txt.

This file contains the ICE error code short phrase list in English and, eventually, other languages. It also contains the class Rice::ICECode. That class has static methods to set the language and return the error code short phrase for a given error number.

In a feeble attempt at i18n, each language should have a hash called CODE_PHRASES_XX, where XX is the XML language code (e.g., EN for English, FR for French, EN_UK for the Queen's English). A hash within Rice::ICECode called CODE_LANGUAGE_LIST contains key/value pairs. The keys are two- character language codes the values value are the the hashes for each language (see Rice::ICECode.CODE_LANGUAGE_LIST below).

Classes and Modules
Module Rice
  ::Module Rice::Subscriber
  ::  ::Class Rice::Subscriber::Session
  ::  ::Class Rice::Subscriber::Subscriber
  ::Module Rice::Syndicator
  ::  ::Class Rice::Syndicator::Subscriber
  ::  ::Class Rice::Syndicator::SubscriberStore
  ::  ::Class Rice::Syndicator::Syndicator
  ::Class Rice::ConfirmationPayload
  ::Class Rice::DateTime
  ::Class Rice::ErrorPayload
  ::Class Rice::ICECode
  ::Class Rice::ICEMachine
  ::Class Rice::Identifier
  ::Class Rice::Item
  ::Class Rice::PackageIdentifier
  ::Class Rice::PackageSequenceIdentifier
  ::Class Rice::Party
  ::Class Rice::PartyProps
  ::Class Rice::Payload
  ::Class Rice::PayloadIdentifier
  ::Class Rice::PingPayload
  ::Class Rice::RequestIdentifier
  ::Class Rice::RequestPayload
  ::Class Rice::ResponseIdentifier
  ::Class Rice::ResponsePayload
  ::Class Rice::SubscriberProps
  ::Class Rice::SubscriptionIdentifier
  ::Class Rice::SurprisePayload
  ::Class Rice::SyndicatorProps
  ::Class Rice::URL