Revision: 60f451ea32af
Author: deruelle_jean <deruelle_jean@8e71dc83-d81e-6649-80f2-80b843a9b2be>
Date: Fri Aug 23 08:50:32 2013 UTC
Log: Fixes Issue 122
JSIP repo https://java.net/jira/browse/JSIP-456
git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2294
8e71dc83-d81e-6649-80f2-80b843a9b2be
http://code.google.com/p/jain-sip/source/detail?r=60f451ea32af
Modified:
/src/gov/nist/javax/sip/parser/StringMsgParser.java
=======================================
--- /src/gov/nist/javax/sip/parser/StringMsgParser.java Thu May 6 14:08:18
2010 UTC
+++ /src/gov/nist/javax/sip/parser/StringMsgParser.java Fri Aug 23 08:50:32
2013 UTC
@@ -271,9 +271,14 @@
try {
headerParser = ParserFactory.createParser(header + "\n");
} catch (ParseException ex) {
- parseExceptionListener.handleException(ex, message, null,
- header, null);
- return;
+ // https://java.net/jira/browse/JSIP-456
+ if (parseExceptionListener != null) {
+ parseExceptionListener.handleException(ex, message, null,
+ header, null);
+ return;
+ } else {
+ throw ex;
+ }
}
try {
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.