{
validateUser(conn);
}
catch (JMSSecurityException e)
{
JMSSecurityRuntimeException e2 = new JMSSecurityRuntimeException(e.getMessage());
e2.initCause(e);
throw e2;
}
catch (JMSException e)
{
JMSRuntimeException e2 = new JMSRuntimeException(e.getMessage());
e2.initCause(e);
throw e2;
}
return conn.createContext(sessionMode);
}