Source-highlight Library
ioexception.h
1
//
2
// Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2008
3
//
4
// Copyright: See COPYING file that comes with this distribution
5
//
6
7
#ifndef IOEXCEPTION_H_
8
#define IOEXCEPTION_H_
9
10
#include <ostream>
11
#include <exception>
12
#include <string>
13
14
namespace
srchilite
{
15
19
struct
IOException
:
public
std::exception {
21
std::string
message
;
22
24
std::string
filename
;
25
26
IOException
(
const
std::string &_message,
27
const
std::string &_filename);
28
virtual
~
IOException
() throw() ;
29
30
virtual const
char
* what ( ) const throw ();
31
};
32
33
std::ostream& operator<<(std::ostream& os, const
IOException
&entry);
34
35
}
36
37
#endif
/*IOEXCEPTION_H_*/
srchilite
C++ class: doctemplate.h.
Definition:
bufferedoutput.cpp:13
srchilite::IOException::filename
std::string filename
filename of the element that caused this exception
Definition:
ioexception.h:24
srchilite::IOException
Exception representing an error in an input/output operation.
Definition:
ioexception.h:19
srchilite::IOException::message
std::string message
detailed message for this exception
Definition:
ioexception.h:21
source-highlight-3.1.9
lib
srchilite
ioexception.h
Generated by
1.8.18