1 package org.simantics.databoard.channel;
\r
3 import java.io.IOException;
\r
4 import java.util.concurrent.TimeoutException;
\r
7 * RequestException is thrown to a requester of a service when there was a
\r
8 * problem fulfilling the request. Typical error is problem with communication
\r
9 * channel or with fulfulling the service.
\r
11 * Cause is (typically) one of these:
\r
12 * o Communication problems {@link IOException}
\r
13 * o Timeout {@link TimeoutException}
\r
14 * o Service handler problem {@link ServiceException}
\r
16 * @author Toni Kalajainen <toni.kalajainen@iki.fi>
\r
18 public class RequestException extends Exception {
\r
20 private static final long serialVersionUID = 1L;
\r
22 public RequestException(Throwable cause) {
\r