mulwidgets/alfcontainerwidget/src/alfcontainerwidgetexception.cpp
branchRCL_3
changeset 20 0e9bb658ef58
parent 0 e83bab7cf002
equal deleted inserted replaced
19:4ea6f81c838a 20:0e9bb658ef58
       
     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:  Container widget exception class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "alfcontainerwidgetexception.h"
       
    20 
       
    21 using namespace Alf;
       
    22 
       
    23 AlfContainerWidgetException::AlfContainerWidgetException(int aError) throw()
       
    24 	: osncore::AlfException(aError)
       
    25 	{
       
    26 	}
       
    27 
       
    28 AlfContainerWidgetException::AlfContainerWidgetException(int aError, const char* aInfo) throw()
       
    29 	: osncore::AlfException(aError, aInfo)
       
    30 	{
       
    31 	mDescription = osncore::UString(aInfo);
       
    32 	}
       
    33 
       
    34 AlfContainerWidgetException::AlfContainerWidgetException(int aError, const char* aInfo, const char* aFileAndLine) throw()
       
    35 	: osncore::AlfException(aError, aInfo, aFileAndLine)
       
    36 	{
       
    37 	mDescription = osncore::UString(aInfo);
       
    38 	mDescription.append(aFileAndLine);
       
    39 	}
       
    40 
       
    41 AlfContainerWidgetException::~AlfContainerWidgetException() throw()
       
    42 	{
       
    43 	}
       
    44 
       
    45 const char* AlfContainerWidgetException::what() const throw()
       
    46 	{
       
    47 	return mDescription.getUtf8();
       
    48 	}