Package org.stellar.sdk.xdr
Class Error
java.lang.Object
org.stellar.sdk.xdr.Error
- All Implemented Interfaces:
XdrElement
Error's original definition in the XDR file is:
struct Error { ErrorCode code; string msg<100>; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Error.ErrorBuilder
builder()
static Error
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Error
fromXdrBase64
(String xdr) static Error
fromXdrByteArray
(byte[] xdr) getCode()
getMsg()
int
hashCode()
void
void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Error
public Error() -
Error
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getCode
-
getMsg
-
setCode
-
setMsg
-
equals
-
hashCode
public int hashCode() -
toString
-