UnresolvedModuleException

class UnresolvedModuleException : UnresolvedDependencyException

UnresolvedModuleException is a type of UnresolvedDependencyException that is specifically for the case that the compiler could not find a module it needed in order to resolve its dependency graph. It contains the list of locations checked by the compiler for that module, which is all of the acceptable locations for the missing module according to its dependent's location.

Author

Leslie Schultz

Richard Arriaga

Parameters

referringModuleName

The name of the module which contained the invalid module reference.

unresolvedModuleName

The name of the module which could not be resolved.

resolver

The ModuleRootResolver that could have contained the module.

Functions

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

Properties

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

Construct the message based on whether or not this exception has a referring module name.

Link copied to clipboard
var referringModuleName: ResolvedModuleName?

The module that contained an unresolved reference to another module.

Link copied to clipboard
val resolver: ModuleRootResolver

The ModuleRootResolver that could have contained the module.

Link copied to clipboard
val unresolvedModuleName: String

The name of the module that could not be resolved.