OnixS C++ FIX Engine 2.79.1.0
C:/Users/Pasha/_Dev/fixforge-cpp/fix/cppEngine/include/OnixS/FIX/EngineException.h
00001 /*
00002 * Copyright 2005-2011 Onix Solutions Limited [OnixS]. All rights reserved. 
00003 * 
00004 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law 
00005 * and international copyright treaties. 
00006 * 
00007 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
00008 * Services Agreement (the Agreement) and Customer end user license agreements granting 
00009 * a non-assignable, non-transferable and non-exclusive license to use the software 
00010 * for it's own data processing purposes under the terms defined in the Agreement.
00011 * 
00012 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part 
00013 * of this source code or associated reference material to any other location for further reproduction
00014 * or redistribution, and any amendments to this copyright notice, are expressly prohibited. 
00015 *
00016 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with 
00017 * the terms of the Agreement is a violation of copyright law. 
00018 */
00019 
00020 #if !defined(__ONIXS_ENGINEEXCEPTION_H__)
00021 #define __ONIXS_ENGINEEXCEPTION_H__
00022 
00023 #include <exception>
00024 #include <string>
00025 
00026 #include "OnixS/FIX/ABI.h"
00027 
00028 namespace OnixS
00029 {
00030     namespace FIX
00031     {
00033         class 
00034         ONIXS_FIXENGINE_THROWABLE_API 
00035         EngineException : public std::exception
00036         {
00037         public:
00039             EngineException(const std::string& reason);
00040                 
00042             virtual ~EngineException() throw ();
00043 
00044             virtual const char *what() const throw ();
00045 
00046         public:
00047             struct Implementation;
00048             Implementation* impl_;
00049         };
00050     }
00051 }
00052 
00053 #endif // __ONIXS_ENGINEEXCEPTION_H__