javacommons/javastorage/src/javastorageexception.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008-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 "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:  JavaStorageException
       
    15 *
       
    16 */
       
    17 
       
    18 #include <sstream>
       
    19 #include "javastorageexception.h"
       
    20 
       
    21 using namespace java::storage;
       
    22 
       
    23 OS_EXPORT std::string JavaStorageException::toString() const throw()
       
    24 {
       
    25     std::ostringstream oss;
       
    26     oss << "mstatus: " << mStatus << ",";
       
    27     oss << ExceptionBase::toString();
       
    28     return oss.str();
       
    29 }