Changed OneDReader::recordPattern to not throw exceptions. For now it just
[zxing.git] / cpp / core / src / zxing / Exception.cpp
1 /*
2  *  Exception.cpp
3  *  ZXing
4  *
5  *  Created by Christian Brunschen on 03/06/2008.
6  *  Copyright 2008 ZXing authors All rights reserved.
7  *
8  */
9
10 #include <zxing/Exception.h>
11
12 namespace zxing {
13
14 Exception::Exception(const char *msg) :
15     message(msg) {
16 }
17
18 const char* Exception::what() const throw() {
19   return message.c_str();
20 }
21
22 Exception::~Exception() throw() {
23 }
24
25 }