Class BadEntityIdException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.hedera.hashgraph.sdk.BadEntityIdException
All Implemented Interfaces:
Serializable

public class BadEntityIdException extends Exception
Custom exception thrown by the entity helper validate method when the account id and checksum are invalid.
See Also:
  • Field Details

    • shard

      public final long shard
      the shard portion of the account id
    • realm

      public final long realm
      the realm portion of the account id
    • num

      public final long num
      the num portion of the account id
    • presentChecksum

      public final String presentChecksum
      the user supplied checksum
    • expectedChecksum

      public final String 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 id
      realm - the realm portion of the account id
      num - the num portion of the account id
      presentChecksum - the user supplied checksum
      expectedChecksum - the calculated checksum