1 /*******************************************************************************
\r
2 * Copyright (c) 2010 Association for Decentralized Information Management in
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.databoard.method;
16 * A wrapper to an exception that occured when trying to invoke a methods.
17 * For instance, file or network error or closed session.
19 * Wraps exeptions like SessionClosedException, and IOException.
20 * This exception does not cover errors that occure during the invocation
23 * TODO Make non-runtime
25 * @author Toni Kalajainen <toni.kalajainen@vtt.fi>
27 public class InvokeException extends RuntimeException {
29 private static final long serialVersionUID = 1L;
31 public InvokeException(Exception cause) {
35 public InvokeException(String message, Exception cause) {
36 super(message, cause);