Package velox.api.layer1.data
Enum LoginFailedReason
java.lang.Object
java.lang.Enum<LoginFailedReason>
velox.api.layer1.data.LoginFailedReason
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LoginFailedReason>,java.lang.constant.Constable
public enum LoginFailedReason extends java.lang.Enum<LoginFailedReason>
Reason why login failed
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description FATALFatal problem.NEW_TRADING_PASSWORD_FAILEDAttempt to change expired password during login failedNO_INTERNET_CONNECTIONCan not login because there is no connection to server(s) through the internet.NO_LOCAL_CONNECTIONCan not login because there is no connection to server located on the same machine.REENTER_CREDENTIALSEnter credentials again (the same ones).SIMULTANEOUS_CONNECTION_KICKABLESimultaneous session that can be kickedTRADING_PASSWORD_EXPIREDPassword expired, need to change itUNKNOWNUnknown problem.WRONG_CREDENTIALSServer didn't accept credentials -
Method Summary
Modifier and Type Method Description static LoginFailedReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LoginFailedReason[]values()Returns an array containing the constants of this enum type, 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
Password expired, need to change it -
NEW_TRADING_PASSWORD_FAILED
Attempt to change expired password during login failed -
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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-