~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/abort_exception.h

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ABORT_EXCEPTION_H
21
 
#define DRIZZLED_ABORT_EXCEPTION_H
 
20
#pragma once
22
21
 
23
22
#include <boost/throw_exception.hpp>
24
23
#include <boost/exception/get_error_info.hpp>
25
24
 
26
25
#define DRIZZLE_ABORT BOOST_THROW_EXCEPTION(::drizzled::abort_exception())
27
26
 
28
 
namespace drizzled
29
 
{
30
 
 
31
 
 
32
 
class abort_exception :
33
 
  public boost::exception, public std::exception
 
27
namespace drizzled {
 
28
  
 
29
class abort_exception : public boost::exception, public std::exception
34
30
{ };
35
31
 
36
32
}
37
 
 
38
 
#endif /* DRIZZLED_ABORT_EXCEPTION_H */