①Only in: jdk-21+35; not in: jdk-20-ga.
public class DecapsulateException
extends java.security.GeneralSecurityException
Not in jdk-20-ga; only in jdk-21+35
- All Implemented Interfaces:
Serializable
An exception that is thrown by the
KEM.Decapsulator.decapsulate(byte[]) method to denote an
error during decapsulation.- Since:
- 21
- See Also:
Constructors
- ①public DecapsulateException(java.lang.String arg0)Not in jdk-20-ga; only in jdk-21+35
DecapsulateException
Creates aDecapsulateExceptionwith the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).
- ①public DecapsulateException(java.lang.String arg0, java.lang.Throwable arg1)Not in jdk-20-ga; only in jdk-21+35
DecapsulateException
Creates aDecapsulateExceptionwith the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| DecapsulateException | 1 | 1 | 2 | |||||||
| <init>(String) | 1 | 1 | ||||||||
| <init>(String,Throwable) | 1 | 1 | ||||||||
| Total | 1 | 3 | 4 | |||||||