A type of LifecycleValidationException which is thrown when a lifecycles file keys reference in an infinite loop.
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.LifecycleInfiniteLoopException throw new LifecycleInfiniteLoopException('groovy.maven')
Constructor and description |
---|
LifecycleInfiniteLoopException
(String message) Throw an exception when lifecycle keys reference in an infinite loop. |
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 lifecycle keys reference in an infinite loop.
message
- A simple message that will be prepended with 'Infinite loop detected. Last known key: ' + messageJervis API documentation.