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)
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) Creates an instance of aErrorResultData
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountAddress
record component.Returns the value of theaccountBalance
record component.Returns the value of theblockTime
record component.String[]
Returns the value of theconfigServers
record component.Returns the value of thecontractError
record component.Returns the value of thecoreVersion
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.int
exitArg()
Returns the value of theexitArg
record component.int
exitCode()
Returns the value of theexitCode
record component.Returns the value of thefunctionName
record component.int
gasUsed()
Returns the value of thegasUsed
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelocalError
record component.Returns the value of themessageId
record component.phase()
Returns the value of thephase
record component.Returns the value of thequeryIpAddress
record component.queryUrl()
Returns the value of thequeryUrl
record component.Returns the value of theresultCode
record component.Returns the value of theshardBlockId
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransactionId
record component.Returns the value of thewaitingExpirationTime
record 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) Creates an instance of aErrorResultData
record class.- Parameters:
coreVersion
- the value for thecoreVersion
record componentphase
- the value for thephase
record componentexitCode
- the value for theexitCode
record componentexitArg
- the value for theexitArg
record componentfunctionName
- the value for thefunctionName
record componentaccountAddress
- the value for theaccountAddress
record componentaccountBalance
- the value for theaccountBalance
record componentgasUsed
- the value for thegasUsed
record componentdescription
- the value for thedescription
record componentcontractError
- the value for thecontractError
record componentconfigServers
- the value for theconfigServers
record componentqueryUrl
- the value for thequeryUrl
record componentqueryIpAddress
- the value for thequeryIpAddress
record componenttransactionId
- the value for thetransactionId
record componentmessageId
- the value for themessageId
record componentshardBlockId
- the value for theshardBlockId
record componentwaitingExpirationTime
- the value for thewaitingExpirationTime
record componentblockTime
- the value for theblockTime
record componentlocalError
- the value for thelocalError
record componentresultCode
- the value for theresultCode
record 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 thecoreVersion
record component.- Returns:
- the value of the
coreVersion
record component
-
phase
Returns the value of thephase
record component.- Returns:
- the value of the
phase
record component
-
exitCode
public int exitCode()Returns the value of theexitCode
record component.- Returns:
- the value of the
exitCode
record component
-
exitArg
public int exitArg()Returns the value of theexitArg
record component.- Returns:
- the value of the
exitArg
record component
-
functionName
Returns the value of thefunctionName
record component.- Returns:
- the value of the
functionName
record component
-
accountAddress
Returns the value of theaccountAddress
record component.- Returns:
- the value of the
accountAddress
record component
-
accountBalance
Returns the value of theaccountBalance
record component.- Returns:
- the value of the
accountBalance
record component
-
gasUsed
public int gasUsed()Returns the value of thegasUsed
record component.- Returns:
- the value of the
gasUsed
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
contractError
Returns the value of thecontractError
record component.- Returns:
- the value of the
contractError
record component
-
configServers
Returns the value of theconfigServers
record component.- Returns:
- the value of the
configServers
record component
-
queryUrl
Returns the value of thequeryUrl
record component.- Returns:
- the value of the
queryUrl
record component
-
queryIpAddress
Returns the value of thequeryIpAddress
record component.- Returns:
- the value of the
queryIpAddress
record component
-
transactionId
Returns the value of thetransactionId
record component.- Returns:
- the value of the
transactionId
record component
-
messageId
Returns the value of themessageId
record component.- Returns:
- the value of the
messageId
record component
-
shardBlockId
Returns the value of theshardBlockId
record component.- Returns:
- the value of the
shardBlockId
record component
-
waitingExpirationTime
Returns the value of thewaitingExpirationTime
record component.- Returns:
- the value of the
waitingExpirationTime
record component
-
blockTime
Returns the value of theblockTime
record component.- Returns:
- the value of the
blockTime
record component
-
localError
Returns the value of thelocalError
record component.- Returns:
- the value of the
localError
record component
-
resultCode
Returns the value of theresultCode
record component.- Returns:
- the value of the
resultCode
record component
-