Added log information
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/data-miner-manager-cl@149259 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8fdc7f701e
commit
1155578b01
|
@ -459,20 +459,16 @@ public class SClient4WPSSession implements Serializable {
|
|||
return processDescriptionsDocument;
|
||||
|
||||
} catch (MalformedURLException e) {
|
||||
logger.error("URL seems not to be valid");
|
||||
e.printStackTrace();
|
||||
throw new WPSClientException("URL seems not to be valid", e);
|
||||
logger.error("URL seems not to be valid: "+e.getLocalizedMessage(),e);
|
||||
throw new WPSClientException("URL seems not to be valid: "+e.getLocalizedMessage(), e);
|
||||
} catch (IOException e) {
|
||||
logger.error("Error occured while receiving data");
|
||||
e.printStackTrace();
|
||||
throw new WPSClientException("Error occured while receiving data", e);
|
||||
logger.error("Error occured while receiving data: "+e.getLocalizedMessage(),e);
|
||||
throw new WPSClientException("Error occured while receiving data: "+e.getLocalizedMessage(), e);
|
||||
} catch (XmlException e) {
|
||||
logger.error("Error occured while parsing ProcessDescription document");
|
||||
e.printStackTrace();
|
||||
throw new WPSClientException("Error occured while parsing ProcessDescription document", e);
|
||||
logger.error("Error occured while parsing ProcessDescription document: "+e.getLocalizedMessage(),e);
|
||||
throw new WPSClientException("Error occured while parsing ProcessDescription document: "+e.getLocalizedMessage(), e);
|
||||
} catch (Throwable e) {
|
||||
logger.error(e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
logger.error(e.getLocalizedMessage(),e);
|
||||
throw new WPSClientException(e.getLocalizedMessage(), new Exception(e));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue