A group of exceptions that are thrown when security issues 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.SecurityException throw new SecurityException('some text')
Constructor and description |
---|
SecurityException
(String message) Throw a SecurityException. |
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 SecurityException.
message
- A simple message that will be prepended with 'ERROR: An encryption related issue occurred. ' + message as well as provide a link to a helpful wiki page, WikiPages.SECURE_SECRETS.Jervis API documentation.