imgtools/imglib/symbolutil/loggingexception.h
changeset 700 c22eff170fac
parent 695 46ca13b54f56
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 	static int UNKNOWN_IMAGE_TYPE	      ;
       
    38 
       
    39 	virtual ~LoggingException(void);
       
    40 protected:
       
    41 	int errcode;
       
    42 private:
       
    43 	LoggingException(void);
       
    44 
       
    45 	LoggingException& operator = (const LoggingException&);
       
    46 };
       
    47 
       
    48 
       
    49 #endif  /* defined ROM_TOOLS_ROFSBUILD_LOGGING_LOGGINGEXCEPTION_H_ */