public static enum ReturnCode.Classification extends Enum<ReturnCode.Classification>
Enum Constant and Description |
---|
CLASS_ERROR
The Classification Error, is used for internal problems, which
prevents the CWS from successfully completing the request.
|
CLASS_INFO
The Classification Info, is used for for all Successful Responses
from the CWS.
|
CLASS_WARNING
The Classification Warning, is used for problems which prevents
the successful completion of a Request - but where the cause of the
problem is something that can be corrected by the Requesting Member.
|
Modifier and Type | Method and Description |
---|---|
static ReturnCode.Classification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnCode.Classification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnCode.Classification CLASS_INFO
The Classification Info, is used for for all Successful Responses from the CWS.
public static final ReturnCode.Classification CLASS_WARNING
The Classification Warning, is used for problems which prevents the successful completion of a Request - but where the cause of the problem is something that can be corrected by the Requesting Member. This is most likely due to invalid input or insufficient input data or Authentication/Authorization problems.
public static final ReturnCode.Classification CLASS_ERROR
The Classification Error, is used for internal problems, which prevents the CWS from successfully completing the request. These errors will be caused by errors in either the implementation of the logic or the quality of the existing data. Generally, this kind of problem cannot be correct by the Members, but require Administrative intervention or corrections by the CWS Developers.
public static ReturnCode.Classification[] values()
for (ReturnCode.Classification c : ReturnCode.Classification.values()) System.out.println(c);
public static ReturnCode.Classification valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 JavaDog.io. All rights reserved.