Commit 4c03bb48 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

catch this error

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1661
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 9df7bb1f
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: sffxx.cc,v 1.14 2005-01-26 17:51:31 tforb Exp $
* $Id: sffxx.cc,v 1.15 2005-03-15 17:48:40 tforb Exp $
* \author Thomas Forbriger
* \date 21/12/2003
*
......@@ -26,7 +26,7 @@
#define TF_SFFXX_CC_VERSION \
"TF_SFFXX_CC V1.4"
#define TF_SFFXX_CC_CVSID \
"$Id: sffxx.cc,v 1.14 2005-01-26 17:51:31 tforb Exp $"
"$Id: sffxx.cc,v 1.15 2005-03-15 17:48:40 tforb Exp $"
#include<sstream>
#include <sffxx.h>
......@@ -136,6 +136,11 @@ namespace sff {
throw
GSE2::Terror("ERROR (STAT::read): file library version too large!");
}
if (inlibversion<1.10)
{
throw
GSE2::Terror("ERROR (STAT::read): incompatible SFF version!");
}
is >> timestamp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment