InvalidUserCodeException

constructor()(source)
constructor(message: String)(source)

Creates a new InvalidUserCodeException.

Since

1.4


constructor(message: String, cause: Throwable)(source)

Creates a new InvalidUserCodeException.

There is deliberately no (String, Iterable) overload carrying resolution suggestions. It would make new InvalidUserCodeException(message, null) ambiguous with this constructor: Java and Kotlin would reject such a call at compile time, and Groovy, which resolves overloads from the runtime types, would select the resolutions constructor and fail on the null. To attach resolutions, use InvalidUserCodeException followed by addResolution.

Since

1.4