net.sf.emarket.web.controllers
Class Errors

java.lang.Object
  extended by net.sf.emarket.web.controllers.Errors

public class Errors
extends java.lang.Object


Field Summary
static java.lang.String ACCOUNT_NOT_ACTIVE
           
static java.lang.String ACCOUNT_NOT_FOUND
           
static java.lang.String INSUFFICIENT_CASH_BALANCE
           
static java.lang.String INVALID_LIMIT_PRICE
           
static java.lang.String NOT_ENOUGH_POSITIONS
           
static java.lang.String ORDER_PREVIEW_ERROR
           
static java.lang.String SYMBOL_CANNOT_TRADE
           
 
Constructor Summary
Errors()
           
 
Method Summary
static java.lang.String getErrorMessage(java.lang.String code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCOUNT_NOT_FOUND

public static final java.lang.String ACCOUNT_NOT_FOUND
See Also:
Constant Field Values

ACCOUNT_NOT_ACTIVE

public static final java.lang.String ACCOUNT_NOT_ACTIVE
See Also:
Constant Field Values

INSUFFICIENT_CASH_BALANCE

public static final java.lang.String INSUFFICIENT_CASH_BALANCE
See Also:
Constant Field Values

NOT_ENOUGH_POSITIONS

public static final java.lang.String NOT_ENOUGH_POSITIONS
See Also:
Constant Field Values

SYMBOL_CANNOT_TRADE

public static final java.lang.String SYMBOL_CANNOT_TRADE
See Also:
Constant Field Values

INVALID_LIMIT_PRICE

public static final java.lang.String INVALID_LIMIT_PRICE
See Also:
Constant Field Values

ORDER_PREVIEW_ERROR

public static final java.lang.String ORDER_PREVIEW_ERROR
See Also:
Constant Field Values
Constructor Detail

Errors

public Errors()
Method Detail

getErrorMessage

public static java.lang.String getErrorMessage(java.lang.String code)


Copyright © 2009. All Rights Reserved.