Package org.mule.api

Examples of org.mule.api.MuleException


    {
        doShutdown();
        unregisterShutdownHook();

        Message msg = CoreMessages.fatalErrorWhileRunning();
        MuleException muleException = ExceptionHelper.getRootMuleException(e);
        int exitCode = 1;
        if (muleException != null)
        {
            logger.fatal(muleException.getDetailedMessage());
            exitCode = muleException.getExceptionCode();
        }
        else
        {
            logger.fatal(msg.toString() + " " + e.getMessage(), e);
        }
View Full Code Here


     * @param e the exception that caused the shutdown
     */
    public void shutdown(Throwable e) throws MuleException
    {
        Message msg = CoreMessages.fatalErrorWhileRunning();
        MuleException muleException = ExceptionHelper.getRootMuleException(e);
        if (muleException != null)
        {
            logger.fatal(muleException.getDetailedMessage());
        }
        else
        {
            logger.fatal(msg.toString() + " " + e.getMessage(), e);
        }
View Full Code Here

TOP

Related Classes of org.mule.api.MuleException

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.