Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class EverSdkException.ErrorResultData
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.EverSdkException.ErrorResultData
- Enclosing class:
EverSdkException
public static record EverSdkException.ErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String functionName, String accountAddress, Number accountBalance, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId, String messageId, String shardBlockId, String waitingExpirationTime, String blockTime, EverSdkException.ErrorResult localError, Integer resultCode, String bindingLibrary, String bindingVersion)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String functionName, String accountAddress, Number accountBalance, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId, String messageId, String shardBlockId, String waitingExpirationTime, String blockTime, EverSdkException.ErrorResult localError, Integer resultCode, String bindingLibrary, String bindingVersion) Creates an instance of aErrorResultDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountAddressrecord component.Returns the value of theaccountBalancerecord component.Returns the value of thebindingLibraryrecord component.Returns the value of thebindingVersionrecord component.Returns the value of theblockTimerecord component.String[]Returns the value of theconfigServersrecord component.Returns the value of thecontractErrorrecord component.Returns the value of thecoreVersionrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.intexitArg()Returns the value of theexitArgrecord component.intexitCode()Returns the value of theexitCoderecord component.Returns the value of thefunctionNamerecord component.intgasUsed()Returns the value of thegasUsedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelocalErrorrecord component.Returns the value of themessageIdrecord component.phase()Returns the value of thephaserecord component.Returns the value of thequeryIpAddressrecord component.queryUrl()Returns the value of thequeryUrlrecord component.Returns the value of theresultCoderecord component.Returns the value of theshardBlockIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionIdrecord component.Returns the value of thewaitingExpirationTimerecord component.
-
Constructor Details
-
ErrorResultData
public ErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String functionName, String accountAddress, Number accountBalance, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId, String messageId, String shardBlockId, String waitingExpirationTime, String blockTime, EverSdkException.ErrorResult localError, Integer resultCode, String bindingLibrary, String bindingVersion) Creates an instance of aErrorResultDatarecord class.- Parameters:
coreVersion- the value for thecoreVersionrecord componentphase- the value for thephaserecord componentexitCode- the value for theexitCoderecord componentexitArg- the value for theexitArgrecord componentfunctionName- the value for thefunctionNamerecord componentaccountAddress- the value for theaccountAddressrecord componentaccountBalance- the value for theaccountBalancerecord componentgasUsed- the value for thegasUsedrecord componentdescription- the value for thedescriptionrecord componentcontractError- the value for thecontractErrorrecord componentconfigServers- the value for theconfigServersrecord componentqueryUrl- the value for thequeryUrlrecord componentqueryIpAddress- the value for thequeryIpAddressrecord componenttransactionId- the value for thetransactionIdrecord componentmessageId- the value for themessageIdrecord componentshardBlockId- the value for theshardBlockIdrecord componentwaitingExpirationTime- the value for thewaitingExpirationTimerecord componentblockTime- the value for theblockTimerecord componentlocalError- the value for thelocalErrorrecord componentresultCode- the value for theresultCoderecord componentbindingLibrary- the value for thebindingLibraryrecord componentbindingVersion- the value for thebindingVersionrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
coreVersion
Returns the value of thecoreVersionrecord component.- Returns:
- the value of the
coreVersionrecord component
-
phase
Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
exitCode
public int exitCode()Returns the value of theexitCoderecord component.- Returns:
- the value of the
exitCoderecord component
-
exitArg
public int exitArg()Returns the value of theexitArgrecord component.- Returns:
- the value of the
exitArgrecord component
-
functionName
Returns the value of thefunctionNamerecord component.- Returns:
- the value of the
functionNamerecord component
-
accountAddress
Returns the value of theaccountAddressrecord component.- Returns:
- the value of the
accountAddressrecord component
-
accountBalance
Returns the value of theaccountBalancerecord component.- Returns:
- the value of the
accountBalancerecord component
-
gasUsed
public int gasUsed()Returns the value of thegasUsedrecord component.- Returns:
- the value of the
gasUsedrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
contractError
Returns the value of thecontractErrorrecord component.- Returns:
- the value of the
contractErrorrecord component
-
configServers
Returns the value of theconfigServersrecord component.- Returns:
- the value of the
configServersrecord component
-
queryUrl
Returns the value of thequeryUrlrecord component.- Returns:
- the value of the
queryUrlrecord component
-
queryIpAddress
Returns the value of thequeryIpAddressrecord component.- Returns:
- the value of the
queryIpAddressrecord component
-
transactionId
Returns the value of thetransactionIdrecord component.- Returns:
- the value of the
transactionIdrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
shardBlockId
Returns the value of theshardBlockIdrecord component.- Returns:
- the value of the
shardBlockIdrecord component
-
waitingExpirationTime
Returns the value of thewaitingExpirationTimerecord component.- Returns:
- the value of the
waitingExpirationTimerecord component
-
blockTime
Returns the value of theblockTimerecord component.- Returns:
- the value of the
blockTimerecord component
-
localError
Returns the value of thelocalErrorrecord component.- Returns:
- the value of the
localErrorrecord component
-
resultCode
Returns the value of theresultCoderecord component.- Returns:
- the value of the
resultCoderecord component
-
bindingLibrary
Returns the value of thebindingLibraryrecord component.- Returns:
- the value of the
bindingLibraryrecord component
-
bindingVersion
Returns the value of thebindingVersionrecord component.- Returns:
- the value of the
bindingVersionrecord component
-