A type of SecurityException which is thrown when an issue with generating key pairs occurs.
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.KeyGenerationException
throw new KeyGenerationException('some reason')| Constructor and description |
|---|
KeyGenerationException
(String message)Throw an exception relaying why RSA key generation failed. |
| 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 relaying why RSA key generation failed.
message - A simple message.Jervis API documentation.