Package javax.crypto
Class ShortBufferException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
javax.crypto.ShortBufferException
- All Implemented Interfaces:
Serializable
public class ShortBufferException extends GeneralSecurityException
The exception that is thrown when the result of an operation is attempted to
store in a user provided buffer that is too small.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ShortBufferException()Creates a new instance ofShortBufferException.ShortBufferException(String msg)Creates a new instance ofShortBufferExceptionwith the specified message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ShortBufferException
Creates a new instance ofShortBufferExceptionwith the specified message- Parameters:
msg- the exception message.
-
ShortBufferException
public ShortBufferException()Creates a new instance ofShortBufferException.
-