A type of GeneratorException which is thrown when an unsupported language lifecycle generation is attempted.
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.UnsupportedLanguageException throw new UnsupportedLanguageException('derpy')
Constructor and description |
---|
UnsupportedLanguageException
(String message) Throw an exception when an unsupported language lifecycle generation is attempted. |
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 an unsupported language lifecycle generation is attempted.
message
- A simple message that will be prepended with 'ERROR: Unsupported language in yaml -> language: ' + message as well as provide a link to a helpful wiki page, WikiPages.SUPPORTED_LANGUAGES.Jervis API documentation.