KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > crypto > IllegalBlockSizeException


1 /*
2  * @(#)IllegalBlockSizeException.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 /**
19  * This exception is thrown when the length of data provided to a block
20  * cipher is incorrect, i.e., does not match the block size of the cipher.
21  *
22  * @author Jan Luehe
23  *
24  * @version 1.17, 03/15/04
25  * @since 1.4
26  */

27 public class IllegalBlockSizeException
28     extends java.security.GeneralSecurityException
29 {
30
31     /**
32      * Constructs an IllegalBlockSizeException with no detail message.
33      * A detail message is a String that describes this particular
34      * exception.
35      */

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

44     public IllegalBlockSizeException(String msg) { }
45 }
46
Popular Tags