|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 package org.mozilla.gecko.sync.crypto; |
|
6 |
|
7 import java.security.GeneralSecurityException; |
|
8 |
|
9 public class CryptoException extends Exception { |
|
10 public GeneralSecurityException cause; |
|
11 public CryptoException(GeneralSecurityException e) { |
|
12 this(); |
|
13 this.cause = e; |
|
14 } |
|
15 public CryptoException() { |
|
16 |
|
17 } |
|
18 private static final long serialVersionUID = -5219310989960126830L; |
|
19 } |