Package com.exonum.core.messages
Interface Runtime.ExecutionErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Runtime.ExecutionError
,Runtime.ExecutionError.Builder
- Enclosing class:
- Runtime
public static interface Runtime.ExecutionErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description int
getCode()
User defined error code that can have different meanings for the different error kinds.String
getDescription()
Optional description which doesn't affect `object_hash`.com.google.protobuf.ByteString
getDescriptionBytes()
Optional description which doesn't affect `object_hash`.Runtime.ErrorKind
getKind()
The kind of error that indicates in which module the error occurred.int
getKindValue()
The kind of error that indicates in which module the error occurred.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKindValue
int getKindValue()The kind of error that indicates in which module the error occurred.
.exonum.runtime.ErrorKind kind = 1;
- Returns:
- The enum numeric value on the wire for kind.
-
getKind
Runtime.ErrorKind getKind()The kind of error that indicates in which module the error occurred.
.exonum.runtime.ErrorKind kind = 1;
- Returns:
- The kind.
-
getCode
int getCode()User defined error code that can have different meanings for the different error kinds.
uint32 code = 2;
- Returns:
- The code.
-
getDescription
String getDescription()Optional description which doesn't affect `object_hash`.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional description which doesn't affect `object_hash`.
string description = 3;
- Returns:
- The bytes for description.
-