mmuifw_plat/alf_widgetutils_api/inc/alf/alfelementexception.h
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     1 /*
       
     2 * Copyright (c) 2007 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 "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:  element exception
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef ALFELEMENTEXCEPTION_H_
       
    22 #define ALFELEMENTEXCEPTION_H_
       
    23 
       
    24 #include <alf/alfexception.h>
       
    25 
       
    26 
       
    27 namespace osncore
       
    28     {
       
    29 
       
    30 /**
       
    31  *  @class AlfElementException alfelementexception.h "alf/alfelementexception.h"
       
    32  *  Element exception class.
       
    33  *
       
    34  *  @lib alfwidgetutils.lib
       
    35  *  @since S60 ?S60_version
       
    36  *  @status Draft
       
    37  */
       
    38 class AlfElementException : public AlfException
       
    39     {
       
    40 public:
       
    41     /**
       
    42     * Constructor.
       
    43     * @param aErrorCode Error code
       
    44     */
       
    45     OSN_IMPORT AlfElementException( const int aErrorCode ) throw();
       
    46 
       
    47     /**
       
    48       * Constructor.
       
    49       * @param aErrorCode Error code
       
    50       * @param aInfo Optional additional information or NULL
       
    51       * @param aFileAndLine Optional file and line information or NULL
       
    52       */
       
    53     OSN_IMPORT  AlfElementException(
       
    54         int aErrorCode, const char* aInfo, const char* aFileAndLine ) throw();
       
    55 
       
    56     /**
       
    57     *  Class Destructor.
       
    58     */
       
    59     OSN_IMPORT virtual ~AlfElementException() throw();
       
    60 
       
    61     /**
       
    62     * Returns the description of the exception.
       
    63     * @return The description of the exception.
       
    64     */
       
    65     OSN_IMPORT virtual const char* what() const throw();
       
    66     };
       
    67 
       
    68     }
       
    69 
       
    70 #endif //ALFELEMENTEXCEPTION_H_
       
    71 
       
    72 // End of File