private static ExceptionClassFilter cloneExceptionClassFilter(ExceptionClassFilter exceptionClassFilter) { if (exceptionClassFilter == null) { return null; } ExceptionClassFilter newExceptionClassFilter = jslFactory.createExceptionClassFilter(); for (ExceptionClassFilter.Include oldInclude : exceptionClassFilter.getIncludeList()) { newExceptionClassFilter.getIncludeList().add(cloneExceptionClassFilterInclude(oldInclude)); } for (ExceptionClassFilter.Exclude oldExclude : exceptionClassFilter.getExcludeList()) { newExceptionClassFilter.getExcludeList().add(cloneExceptionClassFilterExclude(oldExclude)); } return newExceptionClassFilter; }
private static ExceptionClassFilter cloneExceptionClassFilter(ExceptionClassFilter exceptionClassFilter) { if (exceptionClassFilter == null) { return null; } ExceptionClassFilter newExceptionClassFilter = jslFactory.createExceptionClassFilter(); for (ExceptionClassFilter.Include oldInclude : exceptionClassFilter.getIncludeList()) { newExceptionClassFilter.getIncludeList().add(cloneExceptionClassFilterInclude(oldInclude)); } for (ExceptionClassFilter.Exclude oldExclude : exceptionClassFilter.getExcludeList()) { newExceptionClassFilter.getExcludeList().add(cloneExceptionClassFilterExclude(oldExclude)); } return newExceptionClassFilter; }
private static ExceptionClassFilter cloneExceptionClassFilter(ExceptionClassFilter exceptionClassFilter) { if (exceptionClassFilter == null) { return null; } ExceptionClassFilter newExceptionClassFilter = jslFactory.createExceptionClassFilter(); for (ExceptionClassFilter.Include oldInclude : exceptionClassFilter.getIncludeList()) { newExceptionClassFilter.getIncludeList().add(cloneExceptionClassFilterInclude(oldInclude)); } for (ExceptionClassFilter.Exclude oldExclude : exceptionClassFilter.getExcludeList()) { newExceptionClassFilter.getExcludeList().add(cloneExceptionClassFilterExclude(oldExclude)); } return newExceptionClassFilter; }