Package javax.crypto

Class 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 Detail

      • ShortBufferException

        public ShortBufferException​(String msg)
        Creates a new instance of ShortBufferException with the specified message
        Parameters:
        msg - the exception message.
      • ShortBufferException

        public ShortBufferException()
        Creates a new instance of ShortBufferException.