001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003import java.io.IOException; 004 005public class ASN1Exception 006 extends IOException 007{ 008 private Throwable cause; 009 010 ASN1Exception(String message) 011 { 012 super(message); 013 } 014 015 ASN1Exception(String message, Throwable cause) 016 { 017 super(message); 018 this.cause = cause; 019 } 020 021 public Throwable getCause() 022 { 023 return cause; 024 } 025}