UnknownMethodError

class UnknownMethodError(objectName: ObjectVariableNode, methodName: MethodNameNode, objectType: ObjectType?, argumentTypes: List<ValueType>?) : CompilationError

Thrown when an object is called with a method it does not recognize.

Parameters

objectName

Receiver of the method.

methodName

The unrecognized method.

objectType

Inferred type of the object.

argumentTypes

Types of the arguments the method was called with.

Constructors

UnknownMethodError
Link copied to clipboard
fun UnknownMethodError(objectName: ObjectVariableNode, methodName: MethodNameNode, objectType: ObjectType? = null, argumentTypes: List<ValueType>? = null)

Functions

addSuppressed
Link copied to clipboard
fun addSuppressed(p0: Throwable)
fillInStackTrace
Link copied to clipboard
open fun fillInStackTrace(): Throwable
getLocalizedMessage
Link copied to clipboard
open fun getLocalizedMessage(): String
getStackTrace
Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
getSuppressed
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
initCause
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
printStackTrace
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
setStackTrace
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)
toDocument
Link copied to clipboard
override fun toDocument(): Document
toString
Link copied to clipboard
override fun toString(): String

Properties

cause
Link copied to clipboard
open val cause: Throwable?
message
Link copied to clipboard
open val message: String?