Package velox.api.layer1.data
Enum Class LoginFailedReason
- All Implemented Interfaces:
Serializable,Comparable<LoginFailedReason>,Constable
Reason why login failed
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFatal problem.Deprecated.Can not login because there is no connection to server(s) through the internet.Can not login because there is no connection to server located on the same machine.Enter credentials again (the same ones).Simultaneous session that can be kickedDeprecated.Unknown problem.Server didn't accept credentials -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginFailedReasonReturns the enum constant of this class with the specified name.static LoginFailedReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRONG_CREDENTIALS
Server didn't accept credentials -
REENTER_CREDENTIALS
Enter credentials again (the same ones). Happens because user credentials are not stored inside provider. -
NO_INTERNET_CONNECTION
Can not login because there is no connection to server(s) through the internet. -
NO_LOCAL_CONNECTION
Can not login because there is no connection to server located on the same machine. -
SIMULTANEOUS_CONNECTION_KICKABLE
Simultaneous session that can be kicked -
TRADING_PASSWORD_EXPIRED
Deprecated. -
NEW_TRADING_PASSWORD_FAILED
Deprecated. -
UNKNOWN
Unknown problem. Try to login again - probably it will work. -
FATAL
Fatal problem. No point in trying again until issue is resolved
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-