PemGenerationException (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.util.io.pem

## Class PemGenerationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.bouncycastle.util.io.pem.PemGenerationException

- All Implemented Interfaces:
    java.io.Serializable

      public class PemGenerationException
      extends java.io.IOException

  Exception thrown on failure to generate a PEM object.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PemGenerationException(java.lang.String message)`
    `PemGenerationException(java.lang.String message, java.lang.Throwable cause)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Throwable` | `getCause()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PemGenerationException

          public PemGenerationException(java.lang.String message,
                                java.lang.Throwable cause)

    - #### PemGenerationException

          public PemGenerationException(java.lang.String message)

  - ### Method Detail

    - #### getCause

          public java.lang.Throwable getCause()

      Overrides:
        `getCause` in class `java.lang.Throwable`