From d872f7e07c5367f251cf5ebb70a03916251f5306 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 1 Oct 2008 16:46:32 +0000 Subject: Ok, NIDS is getting better and better, and I went ahead and cleaned up some exception related code that's been annoying me. You should no longer have to include any exception header explicitly for normal operations, every class that has it's own exception to throw defines it in it's own headers. This may break some code that uses libbu++, but it's an easy fix, just delete the include for exceptions.h. Sometime soon I would also like to move from Bu::ExceptionBase to Bu::Exception, but that will affect a lot more code than this change did. --- src/exceptions.cpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/exceptions.cpp (limited to 'src/exceptions.cpp') diff --git a/src/exceptions.cpp b/src/exceptions.cpp deleted file mode 100644 index 5d6deeb..0000000 --- a/src/exceptions.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (C) 2007-2008 Xagasoft, All rights reserved. - * - * This file is part of the libbu++ library and is released under the - * terms of the license contained in the file LICENSE. - */ - -#include "exceptions.h" -#include - -namespace Bu -{ - subExceptionDef( XmlException ) - subExceptionDef( TafException ) - subExceptionDef( FileException ) - subExceptionDef( FifoException ) - subExceptionDef( SocketException ) - subExceptionDef( ConnectionException ) - subExceptionDef( PluginException ) - subExceptionDef( UnsupportedException ) -} -- cgit v1.2.3