com.ibm.tivoli.imi.controller

Class TsdIMException.Code

  • java.lang.Object
    • java.lang.Enum
      • com.ibm.tivoli.imi.controller.TsdIMException.Code
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Enclosing class:
    TsdIMException


    public static class TsdIMException.Code
    extends java.lang.Enum
    Every TsdIMException must have a code which identifies a generic reason or cause that generated the exception. This feature has two advantages:
    1- Prevents the project to have a lot of different TsdIMException subclasses
    2- Allows the programmer to use internationalization techniques using TsdIMException code instead of its message (String).

    Note: the Exception.getMessage() method returns the default description of the code assigned to this IM exception (in English) and the message, (if set)
    See Also:
    Serialized Form
    • Field Detail

      • INVALID_CHAT_IDENTIFIER

        public static final TsdIMException.Code INVALID_CHAT_IDENTIFIER
        This exception is used when a chat window (JavaScript on client side) attempts to get a ChatHelper but does not have a valid identifier. It happens when there is already a ChatHelper for its sessionId being used by other chat window which requested that first