Module software.sava.rpc
Record Class TransactionError.ProgramExecutionTemporarilyRestricted
java.lang.Object
java.lang.Record
software.sava.rpc.json.http.response.TransactionError.ProgramExecutionTemporarilyRestricted
- All Implemented Interfaces:
TransactionError
- Enclosing interface:
TransactionError
public static record TransactionError.ProgramExecutionTemporarilyRestricted(int accountIndex)
extends Record
implements TransactionError
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.sava.rpc.json.http.response.TransactionError
TransactionError.AccountBorrowOutstanding, TransactionError.AccountInUse, TransactionError.AccountLoadedTwice, TransactionError.AccountNotFound, TransactionError.AddressLookupTableNotFound, TransactionError.AlreadyProcessed, TransactionError.BlockhashNotFound, TransactionError.CallChainTooDeep, TransactionError.ClusterMaintenance, TransactionError.DuplicateInstruction, TransactionError.InstructionError, TransactionError.InsufficientFundsForFee, TransactionError.InsufficientFundsForRent, TransactionError.InvalidAccountForFee, TransactionError.InvalidAccountIndex, TransactionError.InvalidAddressLookupTableData, TransactionError.InvalidAddressLookupTableIndex, TransactionError.InvalidAddressLookupTableOwner, TransactionError.InvalidLoadedAccountsDataSizeLimit, TransactionError.InvalidProgramForExecution, TransactionError.InvalidRentPayingAccount, TransactionError.InvalidWritableAccount, TransactionError.MaxLoadedAccountsDataSizeExceeded, TransactionError.MissingSignatureForFee, TransactionError.ProgramAccountNotFound, TransactionError.ProgramCacheHitMaxLimit, TransactionError.ProgramExecutionTemporarilyRestricted, TransactionError.ResanitizationNeeded, TransactionError.SanitizeFailure, TransactionError.SignatureFailure, TransactionError.TooManyAccountLocks, TransactionError.UnbalancedTransaction, TransactionError.Unknown, TransactionError.UnsupportedVersion, TransactionError.WouldExceedAccountDataBlockLimit, TransactionError.WouldExceedAccountDataTotalLimit, TransactionError.WouldExceedMaxAccountCostLimit, TransactionError.WouldExceedMaxBlockCostLimit, TransactionError.WouldExceedMaxVoteCostLimit -
Field Summary
Fields inherited from interface software.sava.rpc.json.http.response.TransactionError
OBJECT_PARSER, PARSER -
Constructor Summary
ConstructorsConstructorDescriptionProgramExecutionTemporarilyRestricted(int accountIndex) Creates an instance of aProgramExecutionTemporarilyRestrictedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaccountIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProgramExecutionTemporarilyRestricted
public ProgramExecutionTemporarilyRestricted(int accountIndex) Creates an instance of aProgramExecutionTemporarilyRestrictedrecord class.- Parameters:
accountIndex- the value for theaccountIndexrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
accountIndex
public int accountIndex()Returns the value of theaccountIndexrecord component.- Returns:
- the value of the
accountIndexrecord component
-