stream_exceptions.h
Go to the documentation of this file.
1 
11 #pragma once
12 
14 
15 #ifdef _MSC_VER
16 #pragma warning(disable:4290) // MSVC warns that it ignores the exception specification.
17 #endif
18 
19 namespace illumina { namespace interop { namespace io
20 {
28  {
33  format_exception(const std::string &mesg) : util::base_exception(mesg)
34  { }
35  };
46  {
51  file_not_found_exception(const std::string &mesg) : util::base_exception(mesg)
52  { }
53  };
54 
60  {
65  bad_format_exception(const std::string &mesg) : format_exception(mesg)
66  { }
67  };
68 
74  {
79  incomplete_file_exception(const std::string &mesg) : format_exception(mesg)
80  { }
81  };
87  {
92  invalid_argument(const std::string &mesg) : util::base_exception(mesg)
93  { }
94  };
96 }}}
97 
98 
file_not_found_exception(const std::string &mesg)
Definition: stream_exceptions.h:51
Definition: enum_description.h:15
Definition: stream_exceptions.h:86
Definition: stream_exceptions.h:45
format_exception(const std::string &mesg)
Definition: stream_exceptions.h:33
Definition: base_exception.h:21
Definition: stream_exceptions.h:27
Definition: stream_exceptions.h:59
Definition: stream_exceptions.h:73
invalid_argument(const std::string &mesg)
Definition: stream_exceptions.h:92
incomplete_file_exception(const std::string &mesg)
Definition: stream_exceptions.h:79
base_exception(const std::string &mesg)
Definition: base_exception.h:27
bad_format_exception(const std::string &mesg)
Definition: stream_exceptions.h:65