UnresolvedRootException

class UnresolvedRootException : UnresolvedDependencyException

UnresolvedRootException is a type of UnresolvedDependencyException that is specifically for the case that the compiler could not find one of the roots it expected to be present. This may be caused by:

  • The target module name referring to a root not present in AVAIL_ROOTS, or

  • The compiler being unable to find a root accounted for in AVAIL_ROOTS because it has disappeared from the file system

Author

Leslie Schultz

Parameters

referringModuleName

The name of the module whose dependency graph resolution triggered the failed root access.

unresolvedModuleName

The name of the module which could not be resolved because of the failed root access.

unresolvedRootName

The name of the root which could not be resolved.

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 unresolvedModuleName: String

The name of the module that could not be resolved.

Link copied to clipboard
val unresolvedRootName: String

The name of the root that could not be found.