00001 /* ============================================================================ 00002 * Name : hsexception.h 00003 * Part of : Homescreen Publishing Api 00004 * Interface : 00005 * Description : Updates applications and icons in Operator Tile. 00006 * Version : << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2007 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.0 00018 */ 00019 00020 #ifndef __HSEXCEPTION_H__ 00021 #define __HSEXCEPTION_H__ 00022 00023 #include <exception> 00024 00025 namespace Hs { 00026 00054 class HsException : public std::exception 00055 { 00056 public: 00057 00061 IMPORT_C HsException( int aLeaveCode ); 00062 00066 IMPORT_C virtual ~HsException(); 00067 00087 IMPORT_C int getReason(); 00088 00089 private: 00090 00091 int mLeaveCode; 00092 00093 }; 00094 } 00095 00096 #endif /*__HSEXCEPTION_H__*/