A group of exceptions that are thrown when validation errors occur in the platforms file.
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.PlatformValidationException throw new PlatformValidationException('some text')
Constructor and description |
---|
PlatformValidationException
(String message) Throw a PlatformValidationException |
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 PlatformValidationException
message
- A simple message that will be prepended with 'ERROR: Platform validation failed. ' + message as well as provide a link to a helpful wiki page, WikiPages.PLATFORMS_SPEC.Jervis API documentation.