org.vectomatic.common.rpc
Class AccountServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.vectomatic.common.rpc.AccountServiceException
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable

public class AccountServiceException
extends Exception
implements com.google.gwt.user.client.rpc.IsSerializable

See Also:
Serialized Form

Field Summary
static int CAPTCHA
          The user enters an incorrect captcha
static int COOKIE_ERROR
          The browser has not accepted the session cookie
static int EULA_NOT_APPROVED
          The EULA has not been approved
static int EXISTING_ACCOUNT
          The requested account name is already user
static int INEXISTING_ACCOUNT
          The account does not exist
static int INVALID_EMAIL
          The account name does not match an email regexp
static int INVALID_LOGIN
          The login does not exist or does match the password
static int NONACTIVATED_ACCOUNT
          The account has not been activated
static int NOT_LOGGED_IN
          The user is not loggin in
static int OUT_OF_RESOURCE
          The account number quota has been exceeded
static int SERVER_ERROR
          Internal error
static int SESSION_TIMEOUT
          The session has timed out
 
Constructor Summary
AccountServiceException()
           
AccountServiceException(int id)
           
AccountServiceException(int id, Throwable cause)
           
 
Method Summary
 int getId()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CAPTCHA

public static final int CAPTCHA
The user enters an incorrect captcha

See Also:
Constant Field Values

EXISTING_ACCOUNT

public static final int EXISTING_ACCOUNT
The requested account name is already user

See Also:
Constant Field Values

OUT_OF_RESOURCE

public static final int OUT_OF_RESOURCE
The account number quota has been exceeded

See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
Internal error

See Also:
Constant Field Values

INVALID_EMAIL

public static final int INVALID_EMAIL
The account name does not match an email regexp

See Also:
Constant Field Values

INVALID_LOGIN

public static final int INVALID_LOGIN
The login does not exist or does match the password

See Also:
Constant Field Values

NONACTIVATED_ACCOUNT

public static final int NONACTIVATED_ACCOUNT
The account has not been activated

See Also:
Constant Field Values

SESSION_TIMEOUT

public static final int SESSION_TIMEOUT
The session has timed out

See Also:
Constant Field Values

COOKIE_ERROR

public static final int COOKIE_ERROR
The browser has not accepted the session cookie

See Also:
Constant Field Values

NOT_LOGGED_IN

public static final int NOT_LOGGED_IN
The user is not loggin in

See Also:
Constant Field Values

EULA_NOT_APPROVED

public static final int EULA_NOT_APPROVED
The EULA has not been approved

See Also:
Constant Field Values

INEXISTING_ACCOUNT

public static final int INEXISTING_ACCOUNT
The account does not exist

See Also:
Constant Field Values
Constructor Detail

AccountServiceException

public AccountServiceException()

AccountServiceException

public AccountServiceException(int id)

AccountServiceException

public AccountServiceException(int id,
                               Throwable cause)
Method Detail

getId

public int getId()


Copyright © 2010. All Rights Reserved.