net.sf.ofx4j.domain.data.common
Enum Status.KnownCode
java.lang.Object
java.lang.Enum<Status.KnownCode>
net.sf.ofx4j.domain.data.common.Status.KnownCode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Status.KnownCode>, StatusCode
- Enclosing class:
- Status
public static enum Status.KnownCode
- extends java.lang.Enum<Status.KnownCode>
- implements StatusCode
Known status codes.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SUCCESS
public static final Status.KnownCode SUCCESS
CLIENT_UP_TO_DATE
public static final Status.KnownCode CLIENT_UP_TO_DATE
GENERAL_ERROR
public static final Status.KnownCode GENERAL_ERROR
GENERAL_ACCOUNT_ERROR
public static final Status.KnownCode GENERAL_ACCOUNT_ERROR
ACCOUNT_NOT_FOUND
public static final Status.KnownCode ACCOUNT_NOT_FOUND
ACCOUNT_CLOSED
public static final Status.KnownCode ACCOUNT_CLOSED
ACCOUNT_NOT_AUTHORIZED
public static final Status.KnownCode ACCOUNT_NOT_AUTHORIZED
DUPLICATE_REQUEST
public static final Status.KnownCode DUPLICATE_REQUEST
UNSUPPORTED_VERSION
public static final Status.KnownCode UNSUPPORTED_VERSION
INVALID_TAN
public static final Status.KnownCode INVALID_TAN
MFA_CHALLENGE_REQUIRED
public static final Status.KnownCode MFA_CHALLENGE_REQUIRED
MFA_CHALLENGE_FAILED
public static final Status.KnownCode MFA_CHALLENGE_FAILED
PASSWORD_CHANGE_REQUIRED
public static final Status.KnownCode PASSWORD_CHANGE_REQUIRED
SIGNON_INVALID
public static final Status.KnownCode SIGNON_INVALID
CUSTOMER_ACCOUNT_IN_USE
public static final Status.KnownCode CUSTOMER_ACCOUNT_IN_USE
PASSWORD_LOCKED
public static final Status.KnownCode PASSWORD_LOCKED
INVALID_CLIENT_UID
public static final Status.KnownCode INVALID_CLIENT_UID
CONTACT_FI
public static final Status.KnownCode CONTACT_FI
AUTHTOKEN_REQUIRED
public static final Status.KnownCode AUTHTOKEN_REQUIRED
INVALID_AUTHTOKEN
public static final Status.KnownCode INVALID_AUTHTOKEN
values
public static Status.KnownCode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Status.KnownCode c : Status.KnownCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Status.KnownCode valueOf(java.lang.String name)
- 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 name
java.lang.NullPointerException
- if the argument is null
getCode
public int getCode()
- Specified by:
getCode
in interface StatusCode
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interface StatusCode
getDefaultSeverity
public Status.Severity getDefaultSeverity()
- Specified by:
getDefaultSeverity
in interface StatusCode
fromCode
public static Status.KnownCode fromCode(int code)
Copyright © 2008. All Rights Reserved.