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
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()default Stringdefault 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
-