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 aErrorResultData
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountAddress
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.int
gasUsed()
Returns the value of thegasUsed
record component.final int
hashCode()
Returns a hash code value for this object.phase()
Returns the value of thephase
record component.Returns the value of thequeryIpAddress
record component.queryUrl()
Returns the value of thequeryUrl
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransactionId
record 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 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 componentaccountAddress
- the value for theaccountAddress
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 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
-
accountAddress
Returns the value of theaccountAddress
record component.- Returns:
- the value of the
accountAddress
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
-