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