]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/src/org/simantics/databoard/channel/RequestException.java
Improved Bindings.getBinding(Class) caching for Datatype.class
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / channel / RequestException.java
1 package org.simantics.databoard.channel;
2
3 import java.io.IOException;
4 import java.util.concurrent.TimeoutException;
5
6 /**
7  * RequestException is thrown to a requester of a service when there was a 
8  * problem fulfilling the request. Typical error is problem with communication 
9  * channel or with fulfulling the service. 
10  *
11  * Cause is (typically) one of these:
12  *  o Communication problems {@link IOException}
13  *  o Timeout {@link TimeoutException}
14  *  o Service handler problem {@link ServiceException} 
15  *
16  * @author Toni Kalajainen <toni.kalajainen@iki.fi>
17  */
18 public class RequestException extends Exception {
19
20         private static final long serialVersionUID = 1L;
21
22         public RequestException(Throwable cause) {
23                 super(cause);
24         }
25
26 }