~brian-thomason/+junk/bouncycastle

« back to all changes in this revision

Viewing changes to src/org/bouncycastle/util/io/pem/PemGenerationException.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:20:32 UTC
  • Revision ID: brian.thomason@canonical.com-20111220172032-rdtm13jgdxtksacr
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}