summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-23 23:58:49 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-24 14:44:09 +0200
commitc7dfe8b14c78f0d9f4a7ea077649596aa82d7647 (patch)
tree92f14b2f760116e674609af365c902dab8508dbd
parentac47e1fb96d3f41e29e7c0370ab81a80b7c7fc1a (diff)
don't just ignore unexpected values
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--common/StSRecordFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/StSRecordFile.cpp b/common/StSRecordFile.cpp
index 1ad0872..e7cbc01 100644
--- a/common/StSRecordFile.cpp
+++ b/common/StSRecordFile.cpp
@@ -189,7 +189,7 @@ void StSRecordFile::parseLine(std::string & inLine)
break;
default:
// unrecognized type
- //throw StSRecordParseException("unknown S-record type");
+ throw StSRecordParseException("unknown S-record type");
break;
}