imgtools/romtools/rofsbuild/inc/logging/loggingexception.hpp
changeset 700 c22eff170fac
parent 699 9ca650050cf0
parent 698 e3ee96a3961c
child 701 170c8b305768
equal deleted inserted replaced
699:9ca650050cf0 700:c22eff170fac
     1 /*
       
     2 * Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ROM_TOOLS_ROFSBUILD_LOGGING_LOGGINGEXCEPTION_H_
       
    20 #define ROM_TOOLS_ROFSBUILD_LOGGING_LOGGINGEXCEPTION_H_
       
    21 
       
    22 
       
    23 /*
       
    24  * @class LoggingException
       
    25  */
       
    26 class LoggingException
       
    27 {
       
    28 public:
       
    29 	LoggingException(int ErrorCode);
       
    30 
       
    31 	int GetErrorCode(void);
       
    32 
       
    33 	const char* GetErrorMessage(void);
       
    34 
       
    35 	static int RESOURCE_ALLOCATION_FAILURE;
       
    36 	static int INVALID_LOG_FILENAME       ;
       
    37 
       
    38 	virtual ~LoggingException(void);
       
    39 protected:
       
    40 	int errcode;
       
    41 private:
       
    42 	LoggingException(void);
       
    43 
       
    44 	LoggingException& operator = (const LoggingException&);
       
    45 };
       
    46 
       
    47 
       
    48 #endif  /* defined ROM_TOOLS_ROFSBUILD_LOGGING_LOGGINGEXCEPTION_H_ */