Package org.stellar.sdk.exception
Class AccountRequiresMemoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.exception.SdkException
org.stellar.sdk.exception.AccountRequiresMemoException
- All Implemented Interfaces:
Serializable
AccountRequiresMemoException is thrown when a transaction is trying to submit an operation to an
account which requires a memo.
- See Also:
-
Constructor Summary
ConstructorDescriptionAccountRequiresMemoException
(String message, String accountId, int operationIndex) -
Method Summary
Modifier and TypeMethodDescriptionthe account requiring the memo *int
the operation where the account is the destination *Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AccountRequiresMemoException
- Parameters:
message
- error messageaccountId
- the account requiring the memooperationIndex
- the operation where the account is the destination
-
-
Method Details
-
getAccountId
the account requiring the memo * -
getOperationIndex
public int getOperationIndex()the operation where the account is the destination *
-