Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
_iosfailure.h
Go to the documentation of this file.
1
32#ifndef _RWSTD_RW_IOSFAILURE_H_INCLUDED
33#define _RWSTD_RW_IOSFAILURE_H_INCLUDED
34
35#ifndef _RWSTD_RW_EXCEPTION_H_INCLUDED
36# include <rw/_exception.h>
37#endif // _RWSTD_RW_EXCEPTION_H_INCLUDED
38
39#ifndef _RWSTD_RW_IOSFWD_H_INCLUDED
40# include <rw/_iosfwd.h>
41#endif // _RWSTD_RW_IOSFWD_H_INCLUDED
42
43
45
46struct _RWSTD_EXPORT __rw_failure: __rw_exception
47{
48 explicit __rw_failure (const _STD::string &__what)
49 : __rw_exception (__what) { }
50
51 // extension
52 explicit __rw_failure (const char *__what = 0)
53 : __rw_exception (__what) { }
54
55 virtual ~__rw_failure () _THROWS (());
56};
57
58
59// (optionally) thrown when stream sets badbit
60struct _RWSTD_EXPORT __rw_badbit_set: __rw_failure
61{
62 virtual ~__rw_badbit_set () _THROWS (());
63};
64
65
66// (optionally) thrown when stream sets eofbit
67struct _RWSTD_EXPORT __rw_eofbit_set: __rw_failure
68{
69 virtual ~__rw_eofbit_set () _THROWS (());
70};
71
72
73// (optionally) thrown when stream sets failbit
74struct _RWSTD_EXPORT __rw_failbit_set: __rw_failure
75{
76 virtual ~__rw_failbit_set () _THROWS (());
77};
78
79} // namespace __rw
80
81
82#endif // _RWSTD_RW_IOSFAILURE_H_INCLUDED
#define _THROWS()
#define _RWSTD_EXPORT
Definition _defs.h:485
#define _RWSTD_NAMESPACE(name)
Definition _defs.h:567