lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

ShortBufferException

public class ShortBufferException
extends GeneralSecurityException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.crypto.ShortBufferException


This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

Summary

Public constructors

ShortBufferException()

Constructs a ShortBufferException with no detail message.

ShortBufferException(String msg)

Constructs a ShortBufferException with the specified detail message.

Inherited methods

Public constructors

ShortBufferException

added in API level 1
public ShortBufferException ()

Constructs a ShortBufferException with no detail message. A detail message is a String that describes this particular exception.

ShortBufferException

added in API level 1
public ShortBufferException (String msg)

Constructs a ShortBufferException with the specified detail message.

Parameters
msg String: the detail message.