????????????5????
???????????? ???????[ 2015/7/15 13:42:51 ] ??????????????????
???????????????????????? while ????е?????
void read() {
while (hasNext()) {
try {
readData();
} catch {Exception e) {
// this isn’t recommend
logger.error(“error reading data“?? e);
}
}
}
??????? readData ????????? hasNext ?????? true????????д????????????????????????????????????????????????У?
void read() {
int exceptionsThrown = 0;
while (hasNext()) {
try {
readData();
} catch {Exception e) {
if (exceptionsThrown < THRESHOLD) {
logger.error(“error reading data"?? e);
exceptionsThrown++;
} else {
// Now the error won’t choke the system.
}
}
}
}
???????????????????????????????????????/?????????????????????????
????4. δ???????????
????Westeros ?к????????????????? Thread.uncaughtExceptionHandler???????????????????????а????Щ???????????????????????ú????м?????????????????????????????????????????????????????λ?á?
??????????????δ??????????????????????????κ??????????У???????????κα?????????????????????????????á????????# 1???????????????????????thread.getName()???????
????5. ??????????
?????????????????? API?? JVM ????????????????????? Web ???? HTTP?? DB?? ????????????????κ????? JNI ???á?????????????????????????? ???????п????????????????
?????????????£??? API ??????????????????????ж???????????????????
?????????????????????????????????????????????????????£??????????????????????????????????????????
??????????????????????????????????ü??ɡ?
????try {
????return s3client.generatePresignedUrl(request);
????} catch (Exception e) {
????String err = String.format(“Error generating request: %s bucket: %s key: %s. method: %s"?? request?? bucket?? path?? method);
????log.error(err?? e); //you can also throw a nested exception here with err instead.
????}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
?????????????????Щ???????????????(TQC)?????????????(TQM)???????????????????????????????????????????????????????????????????QA?????????????????????????????????????????????С???????????????????????????????Щ????????????????????????????????????????????????????????????????????????????????????9?????????Sonar???д???????????????????????????????????????????ж?10???裬??????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????