throwIfDoesNotExist

open fun throwIfDoesNotExist(resource: ConfigDataResource, pathToCheck: Path)

Throw a ConfigDataNotFoundException if the specified Path does not exist.

Parameters

resource

the config data resource

pathToCheck

the path to check


open fun throwIfDoesNotExist(resource: ConfigDataResource, fileToCheck: File)

Throw a ConfigDataNotFoundException if the specified File does not exist.

Parameters

resource

the config data resource

fileToCheck

the file to check


open fun throwIfDoesNotExist(resource: ConfigDataResource, resourceToCheck: Resource)

Throw a ConfigDataNotFoundException if the specified Resource does not exist.

Parameters

resource

the config data resource

resourceToCheck

the resource to check