PlanarGC  1.0.2
 All Data Structures Functions Variables Enumerations Enumerator Friends Pages
PlanarException.h
1 /*****************************************************************************
2 * PlanarCut - software to compute MinCut / MaxFlow in a planar graph *
3 * Version 1.0 *
4 * *
5 * Copyright 2011 Eno Töppe <toeppe@in.tum.de> *
6 * Frank R. Schmidt <fschmidt@uwo.ca> *
7 ******************************************************************************
8 
9  If you use this software for research purposes, YOU MUST CITE the following
10  paper in any resulting publication:
11 
12  [1] Efficient Planar Graph Cuts with Applications in Computer Vision.
13  F. R. Schmidt, E. Töppe, D. Cremers,
14  IEEE CVPR, Miami, Florida, June 2009
15 
16 ******************************************************************************
17 
18  This software is released under the LGPL license. Details are explained
19  in the files 'COPYING' and 'COPYING.LESSER'.
20 
21 *****************************************************************************/
22 
23 #ifndef __PLANAREXCEPTION_H__
24 #define __PLANAREXCEPTION_H__
25 
26 #include <exception>
27 
28 class ExceptionCheckConnectivity : std::exception
32 {
33  virtual const char* what() const throw();
34 };
35 
36 class ExceptionCheckNonNegativeCost : std::exception
41 {
42  virtual const char* what() const throw();
43 };
44 
45 class ExceptionCheckPlanarity : std::exception
49 {
50  virtual const char* what() const throw();
51 };
52 
53 class ExceptionSourceSinkIdentical : std::exception
59 {
60  virtual const char* what() const throw();
61 };
62 
63 class ExceptionSourceNotDefined : std::exception
68 {
69  virtual const char* what() const throw();
70 };
71 
72 class ExceptionSinkNotDefined : std::exception
77 {
78  virtual const char* what() const throw();
79 };
80 
81 class ExceptionUnexpectedError : std::exception
85 {
86  virtual const char* what() const throw();
87 };
88 
89 #endif
© 2009 - 2013 by Eno Töppe, Frank R. Schmidt
generated by Doxygen