KJB
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
work
kobus
src
lib
psi_cpp
psi_exception.h
Go to the documentation of this file.
1
/* $Id: psi_exception.h 10707 2011-09-29 20:05:56Z predoehl $ */
2
/* {{{=========================================================================== *
3
|
4
| Copyright (c) 1994-2011 by Kobus Barnard (author)
5
|
6
| Personal and educational use of this code is granted, provided that this
7
| header is kept intact, and that the authorship is not misrepresented, that
8
| its use is acknowledged in publications, and relevant papers are cited.
9
|
10
| For other use contact the author (kobus AT cs DOT arizona DOT edu).
11
|
12
| Please note that the code in this file has not necessarily been adequately
13
| tested. Naturally, there is no guarantee of performance, support, or fitness
14
| for any particular task. Nonetheless, I am interested in hearing about
15
| problems that you encounter.
16
|
17
| Author: Kyle Simek
18
* =========================================================================== }}}*/
19
20
// vim: tabstop=4 shiftwidth=4 foldmethod=marker
21
22
#include <
l_cpp/l_exception.h
>
23
24
namespace
kjb
25
{
26
namespace
psi
27
{
28
29
class
File_format_exception
:
public
IO_error
30
{
31
public
:
32
File_format_exception
(
const
char
* file, uint32_t line) :
IO_error
(
"File_format_Exception"
, file, line)
33
{}
34
35
File_format_exception
(
const
char
* msg,
const
char
* file=0, uint32_t line=0) :
36
IO_error
(msg, file, line)
37
{}
38
39
40
File_format_exception
(
const
std::string& msg,
const
char
* file=0, uint32_t line=0) :
41
IO_error
(msg, file, line)
42
{}
43
44
virtual
~File_format_exception
() { }
45
};
46
47
}
48
}
kjb::psi::File_format_exception
Definition:
psi_exception.h:29
kjb::psi::File_format_exception::File_format_exception
File_format_exception(const char *file, uint32_t line)
Definition:
psi_exception.h:32
kjb::psi::File_format_exception::File_format_exception
File_format_exception(const char *msg, const char *file=0, uint32_t line=0)
Definition:
psi_exception.h:35
kjb::psi::File_format_exception::File_format_exception
File_format_exception(const std::string &msg, const char *file=0, uint32_t line=0)
Definition:
psi_exception.h:40
kjb::psi::File_format_exception::~File_format_exception
virtual ~File_format_exception()
Definition:
psi_exception.h:44
kjb::IO_error
Object thrown when input or output fails.
Definition:
l_exception.h:496
l_exception.h
Support for error handling exception classes in libKJB.
Generated by
1.8.6