OOCholmod
 All Classes Functions
ooc_exception.h
1 //
2 // cholmod_exception.h
3 // OOCholmod
4 //
5 // Created by Morten Nobel-Jørgensen on 31/03/14.
6 // Copyright (c) 2014 Morten Nobel-Joergensen. All rights reserved.
7 //
8 #pragma once
9 #include <iostream>
10 #include <exception>
11 #include <string>
12 
13 namespace oocholmod {
14  class OOCException : public std::exception {
15  public:
16  OOCException(std::string what);
17  const char* what() const throw() override;
18  private:
19  std::string whatMsg;
20  };
21 }
Definition: ooc_exception.h:14