Package tech.ytsaurus.core.common
Enum YTsaurusErrorCode
- java.lang.Object
-
- java.lang.Enum<YTsaurusErrorCode>
-
- tech.ytsaurus.core.common.YTsaurusErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<YTsaurusErrorCode>
public enum YTsaurusErrorCode extends java.lang.Enum<YTsaurusErrorCode>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description int
code
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Get value of error code.static YTsaurusErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static YTsaurusErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ok
public static final YTsaurusErrorCode Ok
-
Generic
public static final YTsaurusErrorCode Generic
-
Canceled
public static final YTsaurusErrorCode Canceled
-
Timeout
public static final YTsaurusErrorCode Timeout
-
TooManyRequests
public static final YTsaurusErrorCode TooManyRequests
-
ProxyBanned
public static final YTsaurusErrorCode ProxyBanned
-
TransportError
public static final YTsaurusErrorCode TransportError
-
ProtocolError
public static final YTsaurusErrorCode ProtocolError
-
NoSuchService
public static final YTsaurusErrorCode NoSuchService
-
NoSuchMethod
public static final YTsaurusErrorCode NoSuchMethod
-
Unavailable
public static final YTsaurusErrorCode Unavailable
-
PoisonPill
public static final YTsaurusErrorCode PoisonPill
-
RpcRequestQueueSizeLimitExceeded
public static final YTsaurusErrorCode RpcRequestQueueSizeLimitExceeded
-
AuthenticationError
public static final YTsaurusErrorCode AuthenticationError
-
InvalidCsrfToken
public static final YTsaurusErrorCode InvalidCsrfToken
-
InvalidCredentials
public static final YTsaurusErrorCode InvalidCredentials
-
StreamingNotSupported
public static final YTsaurusErrorCode StreamingNotSupported
-
PeerBanned
public static final YTsaurusErrorCode PeerBanned
-
TooManyOperations
public static final YTsaurusErrorCode TooManyOperations
-
SessionAlreadyExists
public static final YTsaurusErrorCode SessionAlreadyExists
-
ChunkAlreadyExists
public static final YTsaurusErrorCode ChunkAlreadyExists
-
WindowError
public static final YTsaurusErrorCode WindowError
-
BlockContentMismatch
public static final YTsaurusErrorCode BlockContentMismatch
-
InvalidBlockChecksum
public static final YTsaurusErrorCode InvalidBlockChecksum
-
BlockOutOfRange
public static final YTsaurusErrorCode BlockOutOfRange
-
MissingExtension
public static final YTsaurusErrorCode MissingExtension
-
NoSuchBlock
public static final YTsaurusErrorCode NoSuchBlock
-
NoSuchChunk
public static final YTsaurusErrorCode NoSuchChunk
-
NoSuchChunkList
public static final YTsaurusErrorCode NoSuchChunkList
-
NoSuchChunkTree
public static final YTsaurusErrorCode NoSuchChunkTree
-
NoSuchChunkView
public static final YTsaurusErrorCode NoSuchChunkView
-
NoSuchMedium
public static final YTsaurusErrorCode NoSuchMedium
-
RequestQueueSizeLimitExceeded
public static final YTsaurusErrorCode RequestQueueSizeLimitExceeded
-
TransactionLockConflict
public static final YTsaurusErrorCode TransactionLockConflict
-
AllWritesDisabled
public static final YTsaurusErrorCode AllWritesDisabled
-
TableMountInfoNotReady
public static final YTsaurusErrorCode TableMountInfoNotReady
-
OperationProgressOutdated
public static final YTsaurusErrorCode OperationProgressOutdated
-
NoSuchTransaction
public static final YTsaurusErrorCode NoSuchTransaction
-
-
Method Detail
-
values
public static YTsaurusErrorCode[] 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 (YTsaurusErrorCode c : YTsaurusErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YTsaurusErrorCode 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 namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
Get value of error code.
-
-