UK_CO_MEVANSPN_libBitStream.BitRequirementException Class Reference

BitRequirementException objects are thrown when the calling method has passed a bit length that is either of insufficient length to store the value passed in the same method call or that bit length is simply outside of range of 1-8 bits required for the normal operation of the called method. More...

List of all members.

Public Member Functions

 BitRequirementException (int _required_bits)
 Constructor creates an exception object holding both textual and numerical information about the problem.
int getBitCount ()
 Returns the invalid bit length associated with the method call.


Detailed Description

BitRequirementException objects are thrown when the calling method has passed a bit length that is either of insufficient length to store the value passed in the same method call or that bit length is simply outside of range of 1-8 bits required for the normal operation of the called method.


Constructor & Destructor Documentation

UK_CO_MEVANSPN_libBitStream.BitRequirementException.BitRequirementException ( int  _required_bits  ) 

Constructor creates an exception object holding both textual and numerical information about the problem.

Parameters:
_required_bits The bit length that is inappropriate to the method called. A System.Int32


Member Function Documentation

int UK_CO_MEVANSPN_libBitStream.BitRequirementException.getBitCount (  ) 

Returns the invalid bit length associated with the method call.

Returns:
A System.Int32


The documentation for this class was generated from the following file:

Generated on Fri Feb 20 12:38:23 2009 for libBitStreamDoc by  doxygen 1.5.6