private boolean ignoreThrowable(Exception exception, AnnotatedElement... annotatedElements) {
if(exception != null) {
for(AnnotatedElement element : annotatedElements) {
if(element == null) {
continue;
}
IgnoreRemoteExceptions annotation = element.getAnnotation(IgnoreRemoteExceptions.class);
if(annotation != null) {
return !Arrays.asList(annotation.exceptTypes()).contains(exception.getClass());
}
}
}
return false;
}
RemoteObjectRegistrationImpl.java 文件源码
java
阅读 40
收藏 0
点赞 0
评论 0
项目:NetCom2
作者:
评论列表
文章目录