Package org.apache.cactus.util

Examples of org.apache.cactus.util.ChainedRuntimeException


            // in case the threads need time to finish
            Thread.sleep(200);
        }
        catch (InterruptedException e)
        {
            throw new ChainedRuntimeException(e);
        }

        Set resultSet = new HashSet(results);
        assertEquals(
            "Results contained duplicate ids.",
View Full Code Here


        {
            this.message = getQueueSession().createTextMessage(theText);
        }
        catch (JMSException e)
        {
            throw new ChainedRuntimeException(
                "Failed to create text message", e);
        }
        return (TextMessage) this.message;
    }
View Full Code Here

        {
            this.message = getQueueSession().createTextMessage();
        }
        catch (JMSException e)
        {
            throw new ChainedRuntimeException(
                "Failed to create text message", e);
        }
        return (TextMessage) this.message;
    }
View Full Code Here

            {
                this.securityCheckURL = new URL(stringUrl);
            }
            catch (MalformedURLException e)
            {
                throw new ChainedRuntimeException(
                    "Unable to create default Security Check URL ["
                    + stringUrl + "]");
            }
        }
View Full Code Here

            // Make the connection using a default web request.
            connection = helper.connect(request, theConfiguration);
        }
        catch (Throwable e)
        {
            throw new ChainedRuntimeException(
                "Failed to connect to the secured redirector: " + resource, e);
        }

        if (connection.getResponseCode() != 200)
        {
View Full Code Here

            checkPreAuthResponse(connection);
        }
        catch (Throwable e)
        {
            throw new ChainedRuntimeException(
                "Failed to connect to the secured redirector: " + resource, e);
        }

        return getCookie(connection, getSessionCookieName());
    }
View Full Code Here

            checkPostAuthRequest(theRequest, theConfiguration);
        }
        catch (Throwable e)
        {
            this.jsessionCookie = null;
            throw new ChainedRuntimeException(
                "Failed to authenticate the principal", e);
        }
    }
View Full Code Here

                    createQueueConnection().createQueueSession(false,
                        Session.AUTO_ACKNOWLEDGE);
            }
            catch (JMSException e)
            {
                throw new ChainedRuntimeException(
                    "Failed to create JMS Queue Session", e);
            }
        }
        return queueSession;
    }
View Full Code Here

            context = new InitialContext(env);
            System.out.println(context);
        }
        catch (NamingException e)
        {
            throw new ChainedRuntimeException(
                "Failed to create JNDI initial context", e);
        }

        return context;
    }
View Full Code Here

                (QueueConnectionFactory) (getInitialContext().
                    lookup(JmsConfiguration.getJmsConnectionFactoryJndiName()));
        }
        catch (NamingException e)
        {
            throw new ChainedRuntimeException(
                "Failed to lookup [" +
                JmsConfiguration.getJmsConnectionFactoryJndiName() +
                "] Connection Factory in JNDI", e);
        }
View Full Code Here

TOP

Related Classes of org.apache.cactus.util.ChainedRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.