A type of PlatformValidationException which is thrown when there is a bad value in a platforms file key.
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.PlatformBadValueInKeyException throw new PlatformBadValueInKeyException('defaults.platform')
Constructor and description |
---|
PlatformBadValueInKeyException
(String message) Throw an exception for a bad value in a key. |
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 for a bad value in a key.
message
- A simple message that will be prepended with 'Bad value in key: ' + messageJervis API documentation.