File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
platform-api/src/main/java/com/flow/platform/api/consumer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818
1919import com .flow .platform .api .domain .CmdCallbackQueueItem ;
2020import com .flow .platform .api .service .job .JobService ;
21+ import com .flow .platform .core .exception .FlowException ;
2122import com .flow .platform .core .exception .NotFoundException ;
2223import com .flow .platform .core .queue .PlatformQueue ;
2324import com .flow .platform .core .queue .PriorityMessage ;
@@ -77,7 +78,7 @@ public void onQueueItem(PriorityMessage message) {
7778
7879 private void detectRetryTimes (CmdCallbackQueueItem item ) {
7980 if (item .getRetryTimes () > RETRY_TIMES ) {
80- throw new NotFoundException (String .format ("retry times has reach the limit" ));
81+ throw new FlowException (String .format ("retry times has reach the limit" ));
8182 }
8283 }
8384
You can’t perform that action at this time.
0 commit comments