File: F3DException.h

package info (click to toggle)
f3d 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 23,504 kB
  • sloc: cpp: 99,106; python: 758; sh: 342; xml: 223; java: 101; javascript: 95; makefile: 25
file content (25 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef F3Dexception_h
#define F3Dexception_h

#include <stdexcept>
#include <string>

class F3DExNoProcess : public std::runtime_error
{
public:
  explicit F3DExNoProcess(const std::string& what = "")
    : std::runtime_error(what)
  {
  }
};

class F3DExFailure : public std::runtime_error
{
public:
  explicit F3DExFailure(const std::string& what = "")
    : std::runtime_error(what)
  {
  }
};

#endif