Package ca.simplegames.micro.controllers

Examples of ca.simplegames.micro.controllers.ControllerException


            } else if (e instanceof RedirectException || e.getCause() instanceof RedirectException) {
                throw new RedirectException();
            }

            if (e.getCause() != null && e.getCause() instanceof ControllerException) {
                throw new ControllerException(e.getMessage());
            }
            throw new ViewException(e.getMessage());
        }
    }
View Full Code Here


                                        .getDeclaredMethod(ControllerManager.EXECUTE_METHOD, paramTypes);
                                method.invoke(controller, params);
                            } catch (Exception e) {
                                repository.getLog().error(String.format("%s, error: %s", controllerName, e.getMessage()));
                                e.printStackTrace();
                                throw new ControllerException(e.getMessage());
                            }
                        } else {
                            controllerManager.execute(controllerName, context, (Map) controllerMap.get(Globals.OPTIONS));
                        }
                    }
View Full Code Here

TOP

Related Classes of ca.simplegames.micro.controllers.ControllerException

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.