1package org.bouncycastle.util;
2
3/**
4 * Exception thrown if there's an issue doing a match in store.
5 */
6public class StoreException
7    extends RuntimeException
8{
9    private Throwable _e;
10
11    /**
12     * Basic Constructor.
13     *
14     * @param msg message to be associated with this exception.
15     * @param cause the throwable that caused this exception to be raised.
16     */
17    public StoreException(String msg, Throwable cause)
18    {
19        super(msg);
20        _e = cause;
21    }
22
23    public Throwable getCause()
24    {
25        return _e;
26    }
27}
28