no need to specify the child class, use the parent class for everything
This commit is contained in:
committed by
Laurent Clouet
parent
c3064de5e9
commit
a86b6c2754
@@ -262,7 +262,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
|
||||
return Error.Type.OK;
|
||||
}
|
||||
|
||||
public Job requestJob() throws FermeException, FermeExceptionNoRightToRender, FermeExceptionNoSession, FermeExceptionSessionDisabled {
|
||||
public Job requestJob() throws FermeException {
|
||||
this.log.debug("Server::requestJob");
|
||||
String url_contents = "";
|
||||
|
||||
@@ -421,17 +421,8 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
catch (FermeExceptionNoRightToRender e) {
|
||||
throw e;
|
||||
}
|
||||
catch (FermeExceptionNoSession e) {
|
||||
throw e;
|
||||
}
|
||||
catch (FermeExceptionSessionDisabled e) {
|
||||
throw e;
|
||||
}
|
||||
catch (FermeException e) {
|
||||
throw new FermeException(e.getMessage());
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new FermeException("error requestJob: unknow exception " + e);
|
||||
|
||||
Reference in New Issue
Block a user