Code example for UndeclaredThrowableException

Methods: getUndeclaredThrowable

        catch (UndeclaredThrowableException e)
            fail(((MBeanException) ((InvocationTargetException)
     * Test that a durable queue can be created via JMX. 
     * @throws IOException                  if there is a problem via the JMX connection 
     * @throws if there is a problem with the JMX command 
    public void testDeletionDurableViaJMX() throws IOException, JMException 
        String name = getName();
        _jmxUtils.createQueue(VIRTUALHOST_NAME, name, null, true);
Contextual code suggestions in your IDE  Get Codota for Java