Sync with 5.4.0
[deliverable/titan.core.git] / titan_executor_api / TITAN_Executor_API / src / org / eclipse / titan / executorapi / exception / JniExecutorJniLoadException.java
1 /******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
8 package org.eclipse.titan.executorapi.exception;
9
10 import org.eclipse.titan.executorapi.JniExecutor;
11
12 /**
13 * This exception is thrown in {@link JniExecutor#init()} if C++ JNI library is failed to load.
14 * The reason can be one of the following:
15 * <ul>
16 * <li> The application was started on Windows, Windows is NOT supported
17 * <li> Titan JNI library libmctrjninative.so does NOT exist
18 * <li> LD_LIBRARY_PATH is not set up, the path must contain the directory, where libmctrjninative.so is located
19 * </ul>
20 * @see JniExecutor#init()
21 */
22 public class JniExecutorJniLoadException extends JniExecutorException {
23
24 /**
25 * Generated serial version ID
26 * (to avoid warning)
27 */
28 private static final long serialVersionUID = -1887674537433032025L;
29
30 public JniExecutorJniLoadException( final String aMsg ) {
31 super( aMsg );
32 }
33
34
35 public JniExecutorJniLoadException(String aMsg, final Throwable aCause) {
36 super( aMsg, aCause );
37 }
38
39 }
This page took 0.036825 seconds and 5 git commands to generate.