UnresolvedRootException

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.

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

The module that contained an unresolved reference to another module.

Link copied to clipboard

Produce a String representation of the stack trace captured in this Throwable.

Link copied to clipboard

The name of the module that could not be resolved.

Link copied to clipboard

The name of the root that could not be found.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard