|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Protos.Error.ErrorCode>
org.bitcoin.paymentchannel.Protos.Error.ErrorCode
public static enum Protos.Error.ErrorCode
Protobuf enum paymentchannels.Error.ErrorCode
| Enum Constant Summary | |
|---|---|
BAD_TRANSACTION
BAD_TRANSACTION = 4; |
|
CHANNEL_VALUE_TOO_LARGE
CHANNEL_VALUE_TOO_LARGE = 6; |
|
MIN_PAYMENT_TOO_LARGE
MIN_PAYMENT_TOO_LARGE = 7; |
|
NO_ACCEPTABLE_VERSION
NO_ACCEPTABLE_VERSION = 3; |
|
OTHER
OTHER = 8; |
|
SYNTAX_ERROR
SYNTAX_ERROR = 2; |
|
TIME_WINDOW_TOO_LARGE
TIME_WINDOW_TOO_LARGE = 5; |
|
TIMEOUT
TIMEOUT = 1; |
|
| Field Summary | |
|---|---|
static int |
BAD_TRANSACTION_VALUE
BAD_TRANSACTION = 4; |
static int |
CHANNEL_VALUE_TOO_LARGE_VALUE
CHANNEL_VALUE_TOO_LARGE = 6; |
static int |
MIN_PAYMENT_TOO_LARGE_VALUE
MIN_PAYMENT_TOO_LARGE = 7; |
static int |
NO_ACCEPTABLE_VERSION_VALUE
NO_ACCEPTABLE_VERSION = 3; |
static int |
OTHER_VALUE
OTHER = 8; |
static int |
SYNTAX_ERROR_VALUE
SYNTAX_ERROR = 2; |
static int |
TIME_WINDOW_TOO_LARGE_VALUE
TIME_WINDOW_TOO_LARGE = 5; |
static int |
TIMEOUT_VALUE
TIMEOUT = 1; |
| Method Summary | |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor()
|
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType()
|
int |
getNumber()
|
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor()
|
static com.google.protobuf.Internal.EnumLiteMap<Protos.Error.ErrorCode> |
internalGetValueMap()
|
static Protos.Error.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static Protos.Error.ErrorCode |
valueOf(int value)
|
static Protos.Error.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Protos.Error.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 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 |
| Enum Constant Detail |
|---|
public static final Protos.Error.ErrorCode TIMEOUT
TIMEOUT = 1;
Protocol timeout occurred (one party hung).
public static final Protos.Error.ErrorCode SYNTAX_ERROR
SYNTAX_ERROR = 2;
Generic error indicating some message was not properly
public static final Protos.Error.ErrorCode NO_ACCEPTABLE_VERSION
NO_ACCEPTABLE_VERSION = 3;
formatted or was out of order.
public static final Protos.Error.ErrorCode BAD_TRANSACTION
BAD_TRANSACTION = 4;
A provided transaction was not in the proper structure
public static final Protos.Error.ErrorCode TIME_WINDOW_TOO_LARGE
TIME_WINDOW_TOO_LARGE = 5;
(wrong inputs/outputs, sequence, lock time, signature, etc)
public static final Protos.Error.ErrorCode CHANNEL_VALUE_TOO_LARGE
CHANNEL_VALUE_TOO_LARGE = 6;
for the primary
public static final Protos.Error.ErrorCode MIN_PAYMENT_TOO_LARGE
MIN_PAYMENT_TOO_LARGE = 7;
too large for the primary
public static final Protos.Error.ErrorCode OTHER
OTHER = 8;
| Field Detail |
|---|
public static final int TIMEOUT_VALUE
TIMEOUT = 1;
Protocol timeout occurred (one party hung).
public static final int SYNTAX_ERROR_VALUE
SYNTAX_ERROR = 2;
Generic error indicating some message was not properly
public static final int NO_ACCEPTABLE_VERSION_VALUE
NO_ACCEPTABLE_VERSION = 3;
formatted or was out of order.
public static final int BAD_TRANSACTION_VALUE
BAD_TRANSACTION = 4;
A provided transaction was not in the proper structure
public static final int TIME_WINDOW_TOO_LARGE_VALUE
TIME_WINDOW_TOO_LARGE = 5;
(wrong inputs/outputs, sequence, lock time, signature, etc)
public static final int CHANNEL_VALUE_TOO_LARGE_VALUE
CHANNEL_VALUE_TOO_LARGE = 6;
for the primary
public static final int MIN_PAYMENT_TOO_LARGE_VALUE
MIN_PAYMENT_TOO_LARGE = 7;
too large for the primary
public static final int OTHER_VALUE
OTHER = 8;
| Method Detail |
|---|
public static Protos.Error.ErrorCode[] values()
for (Protos.Error.ErrorCode c : Protos.Error.ErrorCode.values()) System.out.println(c);
public static Protos.Error.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 name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Protos.Error.ErrorCode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Error.ErrorCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.Error.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||