Package org.stellar.sdk.xdr
Class Error
java.lang.Object
org.stellar.sdk.xdr.Error
Error's original definition in the XDR file is:
struct Error { ErrorCode code; string msg<100>; };
-
Nested Class Summary
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
Error
public Error() -
Error
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getCode
-
getMsg
-
setCode
-
setMsg
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-