javacommons/utils/inc/libraryloaderexception.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LIBRARYLOADEREXCEPTION_H
       
    19 #define LIBRARYLOADEREXCEPTION_H
       
    20 
       
    21 #include "exceptionbase.h"
       
    22 #include "javaosheaders.h"
       
    23 
       
    24 namespace java
       
    25 {
       
    26 namespace util
       
    27 {
       
    28 
       
    29 class OS_IMPORT LibraryLoaderException : public java::util::ExceptionBase
       
    30 {
       
    31 
       
    32 public:
       
    33     OS_IMPORT LibraryLoaderException(int aErrCode,
       
    34                                      const std::string& aMessage,
       
    35                                      const std::string& aFile,
       
    36                                      const std::string& aMethod,
       
    37                                      int aLine) throw();
       
    38 
       
    39     OS_IMPORT LibraryLoaderException(int aErrCode,
       
    40                                      int aStatusCode,
       
    41                                      const std::string& aMessage,
       
    42                                      const std::string& aFile,
       
    43                                      const std::string& aMethod,
       
    44                                      int aLine) throw();
       
    45 
       
    46     OS_IMPORT virtual ~LibraryLoaderException() throw();
       
    47 
       
    48     LibraryLoaderException(const LibraryLoaderException& x)
       
    49             : ExceptionBase(x) {}
       
    50 
       
    51 private:
       
    52 
       
    53     //Not implemented.
       
    54     LibraryLoaderException& operator= (const LibraryLoaderException&);
       
    55 };
       
    56 
       
    57 }//end namespace util
       
    58 }//end namespace java
       
    59 
       
    60 #endif // LIBRARYLOADEREXCEPTION_H