Home | History | Annotate | Download | only in pem
      1 package org.bouncycastle.util.io.pem;
      2 
      3 import java.io.IOException;
      4 
      5 public class PemGenerationException
      6     extends IOException
      7 {
      8     private Throwable cause;
      9 
     10     public PemGenerationException(String message, Throwable cause)
     11     {
     12         super(message);
     13         this.cause = cause;
     14     }
     15 
     16     public PemGenerationException(String message)
     17     {
     18         super(message);
     19     }
     20 
     21     public Throwable getCause()
     22     {
     23         return cause;
     24     }
     25 }
     26