Source code: cryptix/sasl/IntegrityException.java
1 package cryptix.sasl;
2
3 // $Id: IntegrityException.java,v 1.1 2001/06/16 09:03:59 raif Exp $
4 //
5 // Copyright (c) 2000-2001 The Cryptix Foundation Limited. All rights reserved.
6 //
7 // Use, modification, copying and distribution of this software is subject to
8 // the terms and conditions of the Cryptix General Licence. You should have
9 // received a copy of the Cryptix General License along with this library; if
10 // not, you can download a copy from <http://www.cryptix.org/>.
11
12 import javax.security.sasl.SaslException;
13
14 /**
15 * Used by mechanisms that offer a security services layer, this checked
16 * exception is thrown to indicate that a violation has occured during the
17 * processing of an <i>integrity</i> protection filter, including <i>replay
18 * detection</i>.
19 *
20 * @version $Revision: 1.1 $
21 * @since draft-burdis-cat-srp-sasl-04
22 */
23 public class IntegrityException extends SaslException {
24
25 /**
26 * Constructs a new instance of <tt>IntegrityException</tt> with no detail
27 * message.
28 */
29 public IntegrityException() {
30 super();
31 }
32
33 /**
34 * Constructs a new instance of <tt>IntegrityException</tt> with the
35 * specified detail message.
36 *
37 * @param s the detail message.
38 */
39 public IntegrityException(String arg) {
40 super(arg);
41 }
42
43 /**
44 * Constructs a new instance of <tt>IntegrityException</tt> with a
45 * detailed message and a root exception.
46 *
47 * @param s possibly null additional detail about the exception.
48 * @param x a possibly null root exception that caused this one.
49 */
50 public IntegrityException(String s, Throwable x) {
51 super(s, x);
52 }
53 }