From 21f5c8a0de30713ea1703453d7187478040d9f6d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 20 Sep 2001 17:17:10 +0000 Subject: [PATCH] throw standard exception class --- src/ca/oldCAC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca/oldCAC.cpp b/src/ca/oldCAC.cpp index b936271f7..46976b2f4 100644 --- a/src/ca/oldCAC.cpp +++ b/src/ca/oldCAC.cpp @@ -26,7 +26,7 @@ oldCAC::oldCAC ( bool enablePreemptiveCallback ) : pVPrintfFunc ( errlogVprintf ), fdRegFunc ( 0 ), fdRegArg ( 0 ) { if ( ! & this->clientCtx ) { - throw -1; + throw std::bad_alloc (); } }