Package-level declarations
Types
Link copied to clipboard
class ContextedIllegalArgumentException(message: String? = null, cause: Throwable? = null, context: ExceptionContext = DefaultExceptionContext()) : IllegalArgumentException, ExceptionContext
An IllegalArgumentException with attached context.
Link copied to clipboard
class ContextedIllegalStateException(message: String? = null, cause: Throwable? = null, context: ExceptionContext = DefaultExceptionContext()) : IllegalStateException, ExceptionContext
An IllegalStateException with attached context.
Link copied to clipboard
Exception which serves as the basis for all custom exceptions thrown by the Grader.
Functions
Link copied to clipboard
fun IllegalArgumentException.withContext(vararg context: Pair<String?, Any?>): ContextedIllegalArgumentException
Converts this
into a ContextedIllegalArgumentException with context attached.
fun IllegalStateException.withContext(vararg context: Pair<String?, Any?>): ContextedIllegalStateException
Converts this
into a ContextedIllegalStateException with context attached.