Package org.springmodules.xt.ajax.support

Examples of org.springmodules.xt.ajax.support.EventHandlingException


            throw new UnsupportedEventException("Cannot handle the given event with id: " + id, ex);
        }
        catch(InvocationTargetException ex) {
            logger.error(ex.getMessage(), ex);
            logger.error("Exception while handling the given event with id: " + id);
            throw new EventHandlingException("Exception while handling the given event with id: " + id, ex);
        }
       
        return response;
    }
View Full Code Here


        resolver = ajaxExceptionHandler.lookupExceptionHandler(new UnsupportedEventException("exception"));
        assertNotNull(resolver);
        assertTrue(resolver instanceof RedirectExceptionHandler);
        assertEquals("/test/redirect1.html", ((RedirectExceptionHandler) resolver).getRedirectUrl());
       
        resolver = ajaxExceptionHandler.lookupExceptionHandler(new EventHandlingException("exception"));
        assertNotNull(resolver);
        assertTrue(resolver instanceof RedirectExceptionHandler);
        assertEquals("/test/redirect2.html", ((RedirectExceptionHandler) resolver).getRedirectUrl());
    }
View Full Code Here

TOP

Related Classes of org.springmodules.xt.ajax.support.EventHandlingException

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.