Skip to content

Commit 1f388cb

Browse files
committed
clean room JCE
1 parent 2b976f5 commit 1f388cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7422
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package javax.crypto;
2+
3+
import java.security.GeneralSecurityException;
4+
5+
/**
6+
* This exception is thrown when a particular padding mechanism is
7+
* expected for the input data but the data is not padded properly
8+
*
9+
*/
10+
public class BadPaddingException
11+
extends GeneralSecurityException
12+
{
13+
private static final long serialVersionUID = -5315033893984728443L;
14+
15+
/**
16+
* Constructs a BadPaddingException with no detail
17+
* message. A detail message is a String that describes this
18+
* particular exception.
19+
*/
20+
public BadPaddingException()
21+
{
22+
}
23+
24+
/**
25+
* Constructs a BadPaddingException with the specified
26+
* detail message. A detail message is a String that describes
27+
* this particular exception, which may, for example, specify which
28+
* algorithm is not available.
29+
*
30+
* @param msg the detail message.
31+
*/
32+
public BadPaddingException(
33+
String msg)
34+
{
35+
super(msg);
36+
}
37+
}

0 commit comments

Comments
 (0)