corda / net.corda.core.utilities / kotlin.Long / exactAdd

exactAdd

infix fun Long.exactAdd(b: Long): Long

Like the + operator but throws ArithmeticException in case of integer overflow.