KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > crypto > ShortBufferException


1 /*
2  * @(#)ShortBufferException.java 1.5 04/03/15
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.crypto;
17
18 import java.security.GeneralSecurityException;
19
20 /**
21  * This exception is thrown when an output buffer provided by the user
22  * is too short to hold the operation result.
23  *
24  * @author Jan Luehe
25  *
26  * @version 1.11, 03/15/04
27  * @since 1.4
28  */

29 public class ShortBufferException extends GeneralSecurityException
30 {
31
32     /**
33      * Constructs a ShortBufferException with no detail
34      * message. A detail message is a String that describes this
35      * particular exception.
36      */

37     public ShortBufferException() { }
38
39     /**
40      * Constructs a ShortBufferException with the specified
41      * detail message.
42      *
43      * @param msg the detail message.
44      */

45     public ShortBufferException(String msg) { }
46 }
47
Popular Tags