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.ErrorBuilderbuilder()static Errordecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ErrorfromXdrBase64(String xdr) static ErrorfromXdrByteArray(byte[] xdr) getCode()getMsg()inthashCode()voidvoidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Error
public Error() -
Error
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getCode
-
getMsg
-
setCode
-
setMsg
-
equals
-
hashCode
public int hashCode() -
toString
-