com.echomine.jabber
Class JabberMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.echomine.jabber.JabberMessageException
All Implemented Interfaces:
java.io.Serializable

public class JabberMessageException
extends java.lang.Exception

Any problems when authenticating or registering or anything related to the User Service will throw this exception. This exception contains the Error Message returned by the server that you can use to find out more information.

See Also:
Serialized Form

Constructor Summary
JabberMessageException(ErrorMessage msg)
           
 
Method Summary
 ErrorMessage getError()
           
 int getErrorCode()
           
 java.lang.String getErrorMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JabberMessageException

public JabberMessageException(ErrorMessage msg)
Method Detail

getError

public ErrorMessage getError()

getErrorMessage

public java.lang.String getErrorMessage()

getErrorCode

public int getErrorCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2001-2005 Echomine. All Rights Reserved.