A type of LifecycleValidationException which is thrown when a lifecycles file key is referenced but missing.
To run this example, clone Jervis and execute ./gradlew console to bring up a Groovy Console with the classpath set up.
import net.gleske.jervis.exceptions.LifecycleMissingKeyException throw new LifecycleMissingKeyException('groovy.defaultKey')
Constructor and description |
---|
LifecycleMissingKeyException
(String message) Throw an exception when lifecycles file key is referenced but missing. |
Methods inherited from class | Name |
---|---|
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Throw an exception when lifecycles file key is referenced but missing.
message
- A simple message that will be prepended with 'Missing key: ' + messageJervis API documentation.