|
|
@ -1409,6 +1409,12 @@ public class Log {
|
|
|
|
"failed to create new store connection".equals(ex.getMessage())))
|
|
|
|
"failed to create new store connection".equals(ex.getMessage())))
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ex instanceof MessagingException &&
|
|
|
|
|
|
|
|
ex.getMessage() != null &&
|
|
|
|
|
|
|
|
ex.getMessage().contains("invalid message sequence number"))
|
|
|
|
|
|
|
|
// invalid message sequence number: message is probably expunged
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
|
|
if (ex instanceof MessagingException &&
|
|
|
|
if (ex instanceof MessagingException &&
|
|
|
|
ex.getCause() instanceof ConnectionException &&
|
|
|
|
ex.getCause() instanceof ConnectionException &&
|
|
|
|
ex.getCause().getMessage() != null &&
|
|
|
|
ex.getCause().getMessage() != null &&
|
|
|
|