libpniio
tiff/exceptions.hpp
Go to the documentation of this file.
1 //
2 // (c) Copyright 2011 DESY, Eugen Wintersberger <eugen.wintersberger@desy.de>
3 //
4 // This file is part of libpniio.
5 //
6 // libpniio is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // libpniio is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with libpniio. If not, see <http://www.gnu.org/licenses/>.
18 // ===========================================================================
19 //
20 // Created on: Sep 26, 2011
21 // Author: Eugen Wintersberger <eugen.wintersberger@desy.de>
22 //
23 //
24 
25 #pragma once
26 #include <pni/core/types.hpp>
27 #include <pni/core/error.hpp>
28 
29 namespace pni{
30 namespace io{
31 namespace tiff{
32 
40  class tiff_read_error:public pni::core::exception
41  {
42  public:
44  tiff_read_error():exception("tiff_read_error"){}
46 
49  tiff_read_error(const pni::core::exception_record &i,
50  const pni::core::string &d):
51  exception("tiff_read_error",i,d)
52  {}
54  virtual ~tiff_read_error() throw() {}
55 
57  friend std::ostream &operator<<(std::ostream &o,const
58  tiff_read_error &e);
59  };
60 
61 //end of namespace
62 }
63 }
64 }
65 
friend std::ostream & operator<<(std::ostream &o, const tiff_read_error &e)
output operator
Definition: tiff/exceptions.cpp:32
error during TIFF reading
Definition: tiff/exceptions.hpp:40
tiff_read_error(const pni::core::exception_record &i, const pni::core::string &d)
constructor
Definition: tiff/exceptions.hpp:49
Definition: cbf_reader.hpp:41
virtual ~tiff_read_error()
destructor
Definition: tiff/exceptions.hpp:54
tiff_read_error()
default constructor
Definition: tiff/exceptions.hpp:44