aboutsummaryrefslogtreecommitdiff
path: root/src/cachestorefiles.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-11 13:27:30 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-11 13:27:30 +0000
commit1300301a52bba102fed8b08bdcb668d246973af5 (patch)
treebd64c93b000b5637cb185d704714ac6a634603a2 /src/cachestorefiles.h
parent70be76029b39d9d909ce9c069c1564d5d476fc22 (diff)
downloadlibbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.gz
libbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.bz2
libbu++-1300301a52bba102fed8b08bdcb668d246973af5.tar.xz
libbu++-1300301a52bba102fed8b08bdcb668d246973af5.zip
Fixed an issue in the reader, it was tokenizing.
Diffstat (limited to 'src/cachestorefiles.h')
-rw-r--r--src/cachestorefiles.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cachestorefiles.h b/src/cachestorefiles.h
index 0416f8b..6a80765 100644
--- a/src/cachestorefiles.h
+++ b/src/cachestorefiles.h
@@ -77,9 +77,9 @@ namespace Bu
77 obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key ); 77 obtype *pOb = __cacheStoreFilesLoad<keytype, obtype>( fIn, key );
78 return pOb; 78 return pOb;
79 } 79 }
80 catch(...) 80 catch( std::exception &e )
81 { 81 {
82 throw Bu::HashException("File-key not found."); 82 throw Bu::HashException( e.what() );
83 } 83 }
84 } 84 }
85 85
@@ -158,6 +158,9 @@ namespace Bu
158 Bu::Formatter f( mb ); 158 Bu::Formatter f( mb );
159 try 159 try
160 { 160 {
161 Fmt fm;
162 fm.tokenize( false );
163 f << fm;
161 f >> tmp; 164 f >> tmp;
162 } 165 }
163 catch( Bu::ExceptionBase &e ) 166 catch( Bu::ExceptionBase &e )