com.genesyslab.ail.exception
Class ChatServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.ail.exception.RequestFailedException
              extended by com.genesyslab.ail.exception.ChatServerException
All Implemented Interfaces:
java.io.Serializable

public class ChatServerException
extends RequestFailedException

Exception thrown when a connection to the chat server fails

See Also:
Serialized Form

Constructor Summary
ChatServerException(java.lang.String _transferrer, java.lang.String _conferencer, java.lang.String _invitationReason, java.lang.String _host, java.lang.String comment)
           
 
Method Summary
 java.lang.String getConferencer()
          Returns the agentName which has requested the conference
 java.lang.String getHost()
          Returns the hostname:port of the chat server
 java.lang.String getInvitationReason()
          Returns the reason of the transfer or conference
 java.lang.String getTransferrer()
          Returns the agentName which has requested the transfer
 java.lang.String toString()
          Returns the description
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChatServerException

public ChatServerException(java.lang.String _transferrer,
                           java.lang.String _conferencer,
                           java.lang.String _invitationReason,
                           java.lang.String _host,
                           java.lang.String comment)
Method Detail

getTransferrer

public java.lang.String getTransferrer()
Returns the agentName which has requested the transfer

Returns:
the agentName or null if not a transfer

getConferencer

public java.lang.String getConferencer()
Returns the agentName which has requested the conference

Returns:
the agentName or null if not a conference

getInvitationReason

public java.lang.String getInvitationReason()
Returns the reason of the transfer or conference

Returns:
the reason or null if neither a conference or a transfer

getHost

public java.lang.String getHost()
Returns the hostname:port of the chat server

Returns:
the hostname:port

toString

public java.lang.String toString()
Returns the description

Overrides:
toString in class java.lang.Throwable
Returns:
the description