javacommons/utils/src/runtimeexception.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2007-2010 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "runtimeexception.h"
       
    19 
       
    20 using namespace java::runtime;
       
    21 
       
    22 OS_EXPORT RuntimeException::RuntimeException(const std::string& message,
       
    23         const std::string& file,
       
    24         const std::string& method,
       
    25         int line) throw() :
       
    26         ExceptionBase(message, file,
       
    27                       method, line)
       
    28 {
       
    29 }
       
    30 
       
    31 OS_EXPORT RuntimeException::~RuntimeException() throw()
       
    32 {
       
    33 }
       
    34 
       
    35 OS_EXPORT std::string RuntimeException::toString() const throw()
       
    36 {
       
    37     return ExceptionBase::toString();
       
    38 }