testMessageDestinationRefs(initCtx, myEnv);
}
catch (NamingException e)
{
log.debug("Lookup failed", e);
throw new FacesException("Lookup failed, ENC tests failed", e);
}
catch (JMSException e)
{
log.debug("JMS access failed", e);
throw new FacesException("JMS access failed, ENC tests failed", e);
}
catch (RuntimeException e)
{
log.debug("Runtime error", e);
throw new FacesException("Runtime error, ENC tests failed", e);
}
}