throw standard exception class

This commit is contained in:
Jeff Hill
2001-09-20 17:17:10 +00:00
parent bdd20db4f2
commit 21f5c8a0de

View File

@@ -26,7 +26,7 @@ oldCAC::oldCAC ( bool enablePreemptiveCallback ) :
pVPrintfFunc ( errlogVprintf ), fdRegFunc ( 0 ), fdRegArg ( 0 )
{
if ( ! & this->clientCtx ) {
throw -1;
throw std::bad_alloc ();
}
}