java.lang.Object
java.lang.Throwable
java.lang.Exception
com.hedera.hashgraph.sdk.BadEntityIdException
- All Implemented Interfaces:
Serializable
Custom exception thrown by the entity helper validate method when the account id and checksum are invalid.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBadEntityIdException(long shard, long realm, long num, String presentChecksum, String expectedChecksum) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
shard
public final long shardthe shard portion of the account id -
realm
public final long realmthe realm portion of the account id -
num
public final long numthe num portion of the account id -
presentChecksum
the user supplied checksum -
expectedChecksum
the calculated checksum
-
-
Constructor Details
-
BadEntityIdException
BadEntityIdException(long shard, long realm, long num, String presentChecksum, String expectedChecksum) Constructor.- Parameters:
shard- the shard portion of the account idrealm- the realm portion of the account idnum- the num portion of the account idpresentChecksum- the user supplied checksumexpectedChecksum- the calculated checksum
-