edu.columbia.ee.flavor
Class FlIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byedu.columbia.ee.flavor.FlIOException
All Implemented Interfaces:
java.io.Serializable

public class FlIOException
extends java.io.IOException

Implementors of the IBitstream interface throw subclasses of this exception base class.

See Also:
Serialized Form

Field Summary
static int ENDOFDATA
          End of data (exception condition)
static int FILEOPENFAILED
          File open failed (exception condition)
static int INVALIDALIGNMENT
          Invalid alignment for align() method (exception condition)
static int INVALIDBITSIZE
          Invalid bitsize specified (exception condition)
static int INVALIDIOTYPE
          Unknown I/O type (exception condition)
static int NOTENOUGHDATA
          Not enough data in bitstream (exception condition)
static int READFAILED
          The (little_)getxxx() or (little_)nextxxx() method failed (exception condition)
static int SYSTEMIOFAILED
          System I/O operation failed (exception condition)
static int UNKNOWN
          Unknown reason (exception condition)
static int WRITEFAILED
          The (little_)putxxx() method failed (exception condition)
 
Constructor Summary
FlIOException()
          Creates FlIOException
FlIOException(int error_code)
          Creates FlIOException with exception condition
FlIOException(int error_code, java.lang.String error_msg)
          Creates FlIOException with exception condition
FlIOException(java.lang.String s)
          Creates FlIOException with description
 
Method Summary
 java.lang.String toString()
          Converts exception to string
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENDOFDATA

public static int ENDOFDATA
End of data (exception condition)


INVALIDALIGNMENT

public static int INVALIDALIGNMENT
Invalid alignment for align() method (exception condition)


READFAILED

public static int READFAILED
The (little_)getxxx() or (little_)nextxxx() method failed (exception condition)


WRITEFAILED

public static int WRITEFAILED
The (little_)putxxx() method failed (exception condition)


FILEOPENFAILED

public static int FILEOPENFAILED
File open failed (exception condition)


SYSTEMIOFAILED

public static int SYSTEMIOFAILED
System I/O operation failed (exception condition)


INVALIDIOTYPE

public static int INVALIDIOTYPE
Unknown I/O type (exception condition)


INVALIDBITSIZE

public static int INVALIDBITSIZE
Invalid bitsize specified (exception condition)


NOTENOUGHDATA

public static int NOTENOUGHDATA
Not enough data in bitstream (exception condition)


UNKNOWN

public static int UNKNOWN
Unknown reason (exception condition)

Constructor Detail

FlIOException

public FlIOException()
Creates FlIOException


FlIOException

public FlIOException(java.lang.String s)
Creates FlIOException with description

Parameters:
s - error detail message

FlIOException

public FlIOException(int error_code)
Creates FlIOException with exception condition

Parameters:
error_code - The error code representing the exception condition

FlIOException

public FlIOException(int error_code,
                     java.lang.String error_msg)
Creates FlIOException with exception condition

Parameters:
error_code - The error code representing the exception condition
error_msg - Additional error description
Method Detail

toString

public java.lang.String toString()
Converts exception to string

Returns:
Descriptive message about the error