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