[FIX] CARBON-14852 

Incorrect exception handling with JMS when security exception occurs