A group of exceptions that are thrown when validation errors occur on Jervis YAML utilizing multiple platforms and operating systems. It also could occur when validating platforms, operating systems, languages, lifecycles, and toolchains.
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.MultiPlatformException
throw new MultiPlatformException('some text')| Constructor and description |
|---|
MultiPlatformException
(String message)Throw a MultiPlatformException |
| Methods inherited from class | Name |
|---|---|
class Exception |
printStackTrace, printStackTrace, printStackTrace, getStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, setStackTrace, addSuppressed, equals, hashCode, getClass, notify, notifyAll, wait, wait, wait |
Throw a MultiPlatformException
message - A simple message that will be prepended with 'ERROR: Multi-platform validation failed.' + message.Jervis API documentation.