i3mclient.communication
Class I3MServerException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--i3mclient.communication.I3MServerException
All Implemented Interfaces:
Serializable

public class I3MServerException
extends Exception

Communication use this to communicate RemoteException from server.

Author:
Dirk Plate
See Also:
Serialized Form

Field Summary
static int DAILYCOMICWSERROR
          error of dailycomic webservice
static int DISCUSSIONGENERALFAULT
          other discussion error
static int DISCUSSIONIDFALSE
          discussion id incorrect
static int DISCUSSIONMEMBERFALSE
          discussion member incorrect
static String ERRORCODEPOSTFIX
          errorcode postfix
static String ERRORCODEPREFIX
          errorcode prefix
static int FALSESEARCHDATA
          not enough search informations
static int LOGINDATAFALSE
          userID or password wrong
static int TRANSLATIONWSERROR
          error of translation webservice
static int UNHANDLEDEXCEPTION
          should not happen
static int USERDATAFALSE
          userdata incorrect
static int USERISNOTINDATABASE
          user not exist
static int USERISNOTLOGGEDIN
          if user is not logged in
static int USERISOFFLINE
          user offline
static int USERSTATUSFALSE
          userstatus incorrect
 
Constructor Summary
I3MServerException(String message, int errorCodeSet)
          Constructor.
 
Method Summary
 int getErrorCode()
          Returns the error code of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USERISNOTLOGGEDIN

public static final int USERISNOTLOGGEDIN
if user is not logged in

See Also:
Constant Field Values

LOGINDATAFALSE

public static final int LOGINDATAFALSE
userID or password wrong

See Also:
Constant Field Values

USERISNOTINDATABASE

public static final int USERISNOTINDATABASE
user not exist

See Also:
Constant Field Values

USERISOFFLINE

public static final int USERISOFFLINE
user offline

See Also:
Constant Field Values

FALSESEARCHDATA

public static final int FALSESEARCHDATA
not enough search informations

See Also:
Constant Field Values

USERDATAFALSE

public static final int USERDATAFALSE
userdata incorrect

See Also:
Constant Field Values

USERSTATUSFALSE

public static final int USERSTATUSFALSE
userstatus incorrect

See Also:
Constant Field Values

DISCUSSIONMEMBERFALSE

public static final int DISCUSSIONMEMBERFALSE
discussion member incorrect

See Also:
Constant Field Values

DISCUSSIONIDFALSE

public static final int DISCUSSIONIDFALSE
discussion id incorrect

See Also:
Constant Field Values

DISCUSSIONGENERALFAULT

public static final int DISCUSSIONGENERALFAULT
other discussion error

See Also:
Constant Field Values

DAILYCOMICWSERROR

public static final int DAILYCOMICWSERROR
error of dailycomic webservice

See Also:
Constant Field Values

TRANSLATIONWSERROR

public static final int TRANSLATIONWSERROR
error of translation webservice

See Also:
Constant Field Values

UNHANDLEDEXCEPTION

public static final int UNHANDLEDEXCEPTION
should not happen

See Also:
Constant Field Values

ERRORCODEPREFIX

public static final String ERRORCODEPREFIX
errorcode prefix

See Also:
Constant Field Values

ERRORCODEPOSTFIX

public static final String ERRORCODEPOSTFIX
errorcode postfix

See Also:
Constant Field Values
Constructor Detail

I3MServerException

public I3MServerException(String message,
                          int errorCodeSet)
Constructor.

Parameters:
message - The error text of the exception
errorCodeSet - The error code of the exception
Method Detail

getErrorCode

public int getErrorCode()
Returns the error code of the exception.

Returns:
The error code