Skip to content

Commit

Permalink
Return error response for SubmitSM
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipen Patel committed Nov 2, 2012
1 parent 3bc5dc6 commit 7818890
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jsmpp/src/main/java/org/jsmpp/session/SMPPServerSession.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ public MessageId processSubmitSm(SubmitSm submitSm)
throw new ProcessRequestException(msg, SMPPConstant.STAT_ESME_RX_R_APPN);
}
return messageId;
} catch(Exception e) {
}
catch(ProcessRequestException e) {
throw e;
}
catch(Exception e) {
String msg = "Invalid runtime exception thrown when processing SubmitSm";
logger.error(msg, e);
throw new ProcessRequestException(msg, SMPPConstant.STAT_ESME_RSYSERR);
Expand Down

0 comments on commit 7818890

Please sign in to comment.