BaseException fix and cleanup.

This commit is contained in:
Matej Sekoranja
2011-01-28 19:50:05 +01:00
parent ad9633c8f6
commit 698f4911ba
6 changed files with 57 additions and 89 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ namespace epics {
else if(b==-2) {
control->ensureData(sizeof(int32));
int32 s = buffer->getInt();
if(s<0) throw EpicsException("negative array size");
if(s<0) THROW_BASE_EXCEPTION("negative array size");
return s;
}
else