public enum ErrorCode extends Enum<ErrorCode>
Enum Constant and Description |
---|
BadAuthent
Code stands for bad authentication (remote or local)
|
CanceledTransfer
Code stands for a request of canceling transfer
|
CommandNotFound
Code stands for Command not found error
|
CompleteOk
Code stands for All action are completed ok
|
ConnectionImpossible
Code stands for connection is impossible (remote or local reason)
|
Disconnection
Code stands for Network disconnection
|
ExternalOp
Code stands for External operation in error (pre, post or error
processing)
|
FileNotFound
Code stands for File not found error
|
FinalOp
Code stands for final action (like moving file) is in error
|
InitOk
Code stands for initialization ok (internal connection, authentication)
|
Internal
Code stands for an internal error
|
LoopSelfRequestedHost
Code stands for self requested host starting request is invalid
|
MD5Error
Code stands for Transfer in error due to MD5
|
NotKnownHost
Code stands for not known host
|
PassThroughMode
Code stands for a request in PassThroughMode and required action is
incompatible with this mode
|
PostProcessingOk
Code stands for post processing ok
|
PreProcessingOk
Code stands for pre processing ok
|
QueryAlreadyFinished
Code stands for a request that is already remotely finished
|
QueryRemotelyUnknown
Code stands for request should exist but is not found on remote host
|
QueryStillRunning
Code stands for request that is still running
|
RemoteError
Code stands for a remote error is received
|
RemoteShutdown
Code stands for Remote Shutdown
|
Running
Code stands for running step
|
ServerOverloaded
Code stands for connection is impossible now due to limits(remote or
local
reason)
|
Shutdown
Code stands for shutdown is in progress
|
StoppedTransfer
Code stands for a request of stopping transfer
|
TransferError
Code stands for Transfer is in error
|
TransferOk
Code stands for transfer OK
|
Unimplemented
Code stands for unimplemented feature
|
Unknown
Code stands for unknown type of error
|
Warning
Warning in execution
|
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode InitOk
public static final ErrorCode PreProcessingOk
public static final ErrorCode TransferOk
public static final ErrorCode PostProcessingOk
public static final ErrorCode CompleteOk
public static final ErrorCode ConnectionImpossible
public static final ErrorCode ServerOverloaded
public static final ErrorCode BadAuthent
public static final ErrorCode ExternalOp
public static final ErrorCode TransferError
public static final ErrorCode MD5Error
public static final ErrorCode Disconnection
public static final ErrorCode RemoteShutdown
public static final ErrorCode FinalOp
public static final ErrorCode Unimplemented
public static final ErrorCode Shutdown
public static final ErrorCode RemoteError
public static final ErrorCode Internal
public static final ErrorCode StoppedTransfer
public static final ErrorCode CanceledTransfer
public static final ErrorCode Warning
public static final ErrorCode Unknown
public static final ErrorCode QueryAlreadyFinished
public static final ErrorCode QueryStillRunning
public static final ErrorCode NotKnownHost
public static final ErrorCode LoopSelfRequestedHost
public static final ErrorCode QueryRemotelyUnknown
public static final ErrorCode FileNotFound
public static final ErrorCode CommandNotFound
public static final ErrorCode PassThroughMode
public static final ErrorCode Running
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 nullpublic int getValue()
public static ErrorCode findByValue(int value)
Copyright © 2009–2020 Waarp. All rights reserved.