Class ShortBufferException

All Implemented Interfaces:

public class ShortBufferException
extends GeneralSecurityException

Exception for buffers of too small size.

Attention:  This is not a SUN implementation!

This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see

A ShortBufferException is thrown if an application intends to write data to a given buffer, but the bufferīs size is to small for accommodating the data entirely.

File Revision 14
See Also:
Serialized Form

Constructor Summary
          Default Constructor.
ShortBufferException(String msg)
          Creates a ShortBufferException with a description string message as parameter.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ShortBufferException()
Default Constructor. Creates a shortBufferException without any parameters for describing the exception.


public ShortBufferException(String msg)
Creates a ShortBufferException with a description string message as parameter.
msg - the string describing the exception

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK