Problem

fun Problem(    moduleName: ModuleName?,     lineNumber: Int,     characterInFile: Long,     type: ProblemType,     messagePattern: String,     vararg arguments: Any)

Construct a new Problem.

Parameters

moduleName

The name of the module in which the problem was encountered, or null if no module is in context.

lineNumber

The one-based line number on which the problem occurred, or zero if there is no suitable line to blame.

characterInFile

The zero-based code point position in the file. Surrogate pairs are treated as a single code point.

type

The ProblemType that classifies this problem.

messagePattern

A String complying with the MessageFormat pattern specification.

arguments

The arguments with which to parameterize the messagePattern.