TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.collection.correlation.exceptions
Class InsufficientBufferLengthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.hyades.collection.correlation.exceptions.InsufficientBufferLengthException
All Implemented Interfaces:
java.io.Serializable

public class InsufficientBufferLengthException
extends java.lang.Exception

This exception will be thrown if a given buffer is not sufficiently long for the data to be written.

See Also:
Serialized Form

Constructor Summary
InsufficientBufferLengthException(int requiredLength)
          Creates a new exception with the required length set.
 
Method Summary
 int getRequiredLength()
          Returns the required length.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsufficientBufferLengthException

public InsufficientBufferLengthException(int requiredLength)
Creates a new exception with the required length set.

Parameters:
requiredLength - the length which will prevent the same exception from occurring
Method Detail

getRequiredLength

public int getRequiredLength()
Returns the required length.

Returns:
the required length.

TPTP 4.5.0 Platform Project
Public API Specification