javax.crypto
Class ShortBufferException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--javax.crypto.ShortBufferException

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 http://java.sun.com/security/JCE1.2/spec/apidoc/index.html


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.

See Also:
Serialized Form

Constructor Summary
ShortBufferException()
          Default Constructor.
ShortBufferException(java.lang.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

ShortBufferException

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

ShortBufferException

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