net.corda.core / kotlin.Long / checkedAdd

checkedAdd

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

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