aboutsummaryrefslogtreecommitdiff
path: root/src/cachestorenids.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cachestorenids.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachestorenids.h b/src/cachestorenids.h
index c6a00ce..0f7c72c 100644
--- a/src/cachestorenids.h
+++ b/src/cachestorenids.h
@@ -57,7 +57,7 @@ namespace Bu
57 nStore.initialize( iBlockSize, iPreAllocate ); 57 nStore.initialize( iBlockSize, iPreAllocate );
58 int iStream = nStore.createStream(); 58 int iStream = nStore.createStream();
59 if( iStream != 0 ) 59 if( iStream != 0 )
60 printf("That's...horrible...id = %d.\n\n", iStream ); 60 throw Bu::ExceptionBase("That's...horrible...id = %d.\n\n", iStream );
61 NidsStream ns = nStore.openStream( 0 ); 61 NidsStream ns = nStore.openStream( 0 );
62 Bu::Archive ar( ns, Bu::Archive::save ); 62 Bu::Archive ar( ns, Bu::Archive::save );
63 ar << hId; 63 ar << hId;