BalanceOverflowException

Exception thrown when balance arithmetic overflows (extremely large balances).

Why This Matters:

  • Integer overflow can wrap to negative values

  • Attacker could manipulate balance calculations

Recovery:

  • Use BigInteger everywhere (already done)

  • This is a safety net for unexpected edge cases

Constructors

Link copied to clipboard
constructor(message: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?