A group of exceptions that are thrown when undesireable script generation conditions occur.
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.GeneratorException
throw new GeneratorException('some text')| Constructor and description |
|---|
GeneratorException
(String message)Throw a GeneratorException. |
| 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 a GeneratorException.
message - A simple message.Jervis API documentation.