exceptionViolation

inline fun <T : Comparable<T>> exceptionViolation(newValue: T, bound: T): T

Violation handler which throws an exception IllegalArgumentException.