IOExceptions.hpp
Go to the documentation of this file.
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
16 
17 #ifndef COM_BORA_SOFTWARE__BALAU_EXCEPTION__IO_EXCEPTIONS
18 #define COM_BORA_SOFTWARE__BALAU_EXCEPTION__IO_EXCEPTIONS
19 
21 #include <Balau/Resource/Uri.hpp>
22 
23 namespace Balau::Exception {
24 
28 class IOException : public BalauException {
29  public: IOException(const char * file, int line, const std::string & st, const std::string & text)
30  : BalauException(file, line, st, "IO", text) {}
31 };
32 
33 } // namespace Balau::Exception
34 
35 #endif // COM_BORA_SOFTWARE__BALAU_EXCEPTION__IO_EXCEPTIONS
All exception classes.
Definition: BalauException.hpp:50
Thrown when an IO exception occurs.
Definition: IOExceptions.hpp:28
Base Balau exception classes.
Base class of all Balau exceptions.
Definition: BalauException.hpp:55
The abstract URI base class.