---
name: "ost_IOException"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.7.3-1.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ost_IOException"
---

# ost\_IOException(3)

A sub-hierarchy for all Common C++ I/O related classes.

## NAME

ost::IOException -

A sub-hierarchy for all Common C++ I/O related classes.

## SYNOPSIS

`#include <exception.h>`

Inherits **ost::Exception**.

Inherited by **ost::DirException**, **ost::DSOException**, **ost::FileException**, **ost::IOZException**, **ost::SerException**, and **ost::SockException**.

### Public Member Functions

**IOException** (const **String** &what\_arg, long systemError=0)  throw ()\
 virtual **~IOException** ()  throw ()\
 virtual long **getSystemError** () const   throw ()\
 virtual const char \* **getSystemErrorString** () const   throw ()\

## Detailed Description

A sub-hierarchy for all Common C++ I/O related classes.

**Author:**

David Sugar \<dyfet@ostel.com\> I/O operation exception hierarchy.

## Constructor & Destructor Documentation

### ost::IOException::IOException (const String & what\_arg, long systemError = `0`) throw ()

### virtual ost::IOException::~IOException () throw ()` [virtual]`

## Member Function Documentation

### virtual long ost::IOException::getSystemError () const throw ()` [virtual]`

### virtual const char\* ost::IOException::getSystemErrorString () const throw ()` [virtual]`

**Examples:**  **tcp.cpp**.

## Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
