rethrowFailure

abstract fun rethrowFailure()(source)

A resolve of a configuration that is not successful does not automatically throws an exception. Such a exception is only thrown if the result of a resolve is accessed. You can force the throwing of such an exception by calling this method.

This method does nothing when resolution was successful.

Throws

when the resolve was not successful.