WPILibC++  trunk
Public Member Functions | List of all members
IOException Class Reference

#include <IOException.h>

Inheritance diagram for IOException:
Inheritance graph
[legend]
Collaboration diagram for IOException:
Collaboration graph
[legend]

Public Member Functions

 IOException (const char *message)
 
 IOException (const char *message, int errorValue)
 
const char * what ()
 
virtual bool isEOF ()
 

Detailed Description

Inidcates that an unrecoverable I/O failure occured.

Definition at line 16 of file IOException.h.

Constructor & Destructor Documentation

IOException::IOException ( const char *  message)

Creates a new IOException with the given message.

Parameters
messageThe message to associate with this exception.

Definition at line 13 of file IOException.cpp.

IOException::IOException ( const char *  message,
int  errorValue 
)

Creates a new IOException with the given message and error value.

Parameters
messageThe message to associate with this exception.
errorValueThe integer code to associate with this exception.

Definition at line 14 of file IOException.cpp.

Member Function Documentation

bool IOException::isEOF ( )
virtual

Determines whether this exception indicates that an EOF was encountered.

Returns
True if this exception indicates that an EOF was encountered. False otherwise.

Reimplemented in EOFException.

Definition at line 20 of file IOException.cpp.

const char * IOException::what ( )

Gets the message associated with this exception.

Returns
The message associated with this exception.

Definition at line 16 of file IOException.cpp.


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