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
-
Constructor Summary
ConstructorsConstructorDescriptionErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String accountAddress, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId) Creates an instance of aErrorResultDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountAddressrecord 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.intgasUsed()Returns the value of thegasUsedrecord component.final inthashCode()Returns a hash code value for this object.phase()Returns the value of thephaserecord component.Returns the value of thequeryIpAddressrecord component.queryUrl()Returns the value of thequeryUrlrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionIdrecord component.
-
Constructor Details
-
ErrorResultData
public ErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String accountAddress, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId) 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 componentaccountAddress- the value for theaccountAddressrecord 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 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
-
accountAddress
Returns the value of theaccountAddressrecord component.- Returns:
- the value of the
accountAddressrecord 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
-