Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions src/main/java/com/dounine/clouddisk360/parser/BaseParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,11 @@ private void inits() {
this.dataSmooth(baseParser);
} catch (CloudDiskException e) {
this.cloudDiskException = e;
} catch (InstantiationException | IllegalAccessException e) {
} catch (InstantiationException |
IllegalAccessException|NoSuchMethodException|
SecurityException|IllegalArgumentException|InvocationTargetException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (SecurityException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
}
if (this.hasException()) {//有异常程序返回
return;
}
Expand Down Expand Up @@ -250,11 +244,9 @@ public M execClouddiskException() {
try {
m = mClazz.newInstance();
m.setCddmsg(cloudDiskException.getMessage());
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
} catch (InstantiationException|IllegalAccessException e) {
e.printStackTrace();
}
}
return m;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,9 @@ public boolean verify(String hostname, SSLSession session) {
}
} catch (ConnectTimeoutException e) {
LOGGER.error("连接超时");
} catch (InterruptedException e) {
} catch (InterruptedException|ExecutionException|IOException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
}

new IdleConnectionMonitorThread(CM).start();// 连接回收策略
Expand Down