|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fossilec.odettej.service.AnswerReason
public final class AnswerReason
Enumeration that represents each reason code for avaiable Answer Reasons while transfering a Virtual File.
Answer Codes
Value: 01 - Invalid filename. 02 - Invalid destination. 03 - Invalid origin. 04 - Storage record format not supported. 05 - Maximum record length not supported. 06 - File size is too big. 10 - Invalid record count. 11 - Invalid byte count. 12 - Access method failure. 13 - Duplicate file. 99 - Unspecified reason.
Field Summary | |
---|---|
static AnswerReason |
ACCESS_METHOD_FAILURE
Access method failure. |
static AnswerReason |
DUPLICATE_FILE
Duplicate file. |
static AnswerReason |
FILE_SIZE_EXCEED
File size is too big. |
static AnswerReason |
INVALID_BYTE_COUNT
Invalid byte count. |
static AnswerReason |
INVALID_DESTINATION
Invalid destination. |
static AnswerReason |
INVALID_FILENAME
Invalid filename. |
static AnswerReason |
INVALID_ORIGIN
Invalid origin. |
static AnswerReason |
INVALID_RECORD_COUNT
Invalid record count. |
static AnswerReason |
UNSPECIFIED
Unspecified reason. |
static AnswerReason |
UNSUPPORTED_MAXIMUM_RECORD_LENGTH
Maximum record length not supported. |
static AnswerReason |
UNSUPPORTED_STORAGE_RECORD_FORMAT
Storage record format not supported. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Return the protocol representation of AnswerReason enum. |
static AnswerReason |
parse(java.lang.String code)
Convenient method for parsing the proper TransferMode instance given a identifier character. |
static java.util.Collection |
values()
Return a collection of the avaiable typed enumerations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AnswerReason INVALID_FILENAME
public static final AnswerReason INVALID_DESTINATION
public static final AnswerReason INVALID_ORIGIN
public static final AnswerReason UNSUPPORTED_STORAGE_RECORD_FORMAT
public static final AnswerReason UNSUPPORTED_MAXIMUM_RECORD_LENGTH
public static final AnswerReason FILE_SIZE_EXCEED
public static final AnswerReason INVALID_RECORD_COUNT
public static final AnswerReason INVALID_BYTE_COUNT
public static final AnswerReason ACCESS_METHOD_FAILURE
public static final AnswerReason DUPLICATE_FILE
public static final AnswerReason UNSPECIFIED
Method Detail |
---|
public java.lang.String getCode()
String
corresponding protocol code.public static AnswerReason parse(java.lang.String code)
code
- The transfer mode character being evaluated
CommandNotRecognisedException
- Command not recognisedpublic static java.util.Collection values()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |