PieDock
1.6.3
Main Page
Classes
Files
File List
src
ErrnoException.h
1
/*
2
* O ,-
3
* ° o . -´ ' ,-
4
* ° .´ ` . ´,´
5
* ( ° )) . (
6
* `-;_ . -´ `.`.
7
* `._' ´
8
*
9
* Copyright (c) 2012 Markus Fisch <mf@markusfisch.de>
10
*
11
* Licensed under the MIT license:
12
* http://www.opensource.org/licenses/mit-license.php
13
*/
14
#ifndef _PieDock_ErrnoException_
15
#define _PieDock_ErrnoException_
16
17
#include <errno.h>
18
#include <string.h>
19
20
#include <stdexcept>
21
22
namespace
PieDock
23
{
29
class
ErrnoException
:
public
std::runtime_error
30
{
31
public
:
32
ErrnoException
() : runtime_error( strerror( errno ) ) {}
33
};
34
}
35
36
#endif
Generated on Fri Feb 28 2014 19:48:22 for PieDock by
1.8.3.1