ClassNotFoundException
classin packageklyn
public class ClassNotFoundException extends TypeError:
└ ClassNotFoundException

Exception raised when the compiler or runtime class loader cannot resolve a requested class.

@param message Description of the missing class.

try:
eval("import not.existing.Package")
catch exc as ClassNotFoundException:
println(exc.message)
Attributes inherited from TypeError: message
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public ClassNotFoundException
ClassNotFoundException(message as String = "Class not found"):
Creates a class-not-found exception.
Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml