KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > security > auth > DestroyFailedException


1 /*
2  * @(#)DestroyFailedException.java 1.8 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.security.auth;
9
10 /**
11  * Signals that a <code>destroy</code> operation failed.
12  *
13  * <p> This exception is thrown by credentials implementing
14  * the <code>Destroyable</code> interface when the <code>destroy</code>
15  * method fails.
16  *
17  * @version 1.8, 12/19/03
18  */

19 public class DestroyFailedException extends Exception JavaDoc {
20
21     private static final long serialVersionUID = -7790152857282749162L;
22
23     /**
24      * Constructs a DestroyFailedException with no detail message. A detail
25      * message is a String that describes this particular exception.
26      */

27     public DestroyFailedException() {
28     super();
29     }
30
31     /**
32      * Constructs a DestroyFailedException with the specified detail
33      * message. A detail message is a String that describes this particular
34      * exception.
35      *
36      * <p>
37      *
38      * @param msg the detail message.
39      */

40     public DestroyFailedException(String JavaDoc msg) {
41     super(msg);
42     }
43 }
44
Popular Tags