반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- ChannelPipeline
- docker
- Airflow
- Spring Open Feign
- QueryDSL
- KAFKA
- Redis Sentinel
- Docker Compose
- coalesce
- jmeter
- Hibernate
- MySQL
- vue.js
- RabbitMQ
- mybatis
- cassandra
- spring boot redis
- Netty
- docker-compose
- spring cloud
- grafana
- redis
- JPA
- weblogic 10
- netflix oss
- Selenium
- spring boot
- docker compose mysql
- argo cd
- WebLogic
Archives
- Today
- Total
목록stream exception bubble up (1)
IT.FARMER
java 8 stream throw exception bubble up (예외사항 전파)
스트림 사용시에 상위 메소드로 익셉션을 전파하고 싶을때 사용 try { customIds.forEach(customId ->{ List ads = null; try { ads = fbAdAPIService.findByAllAds(customId); adTemps.addAll(ads); fbAdDao.fbAdMetaDataSave(ads); } catch (Exception e) { log.error("페이스북 광고(소재) 데이터 수집 실패 = customerId = {}", customId ); throw new RuntimeException(e); } }); } catch (RuntimeException e) { // FIXME : Ad - throw bubble up if (e.getCause() !..
JAVA
2019. 5. 7. 16:18