Package play.exceptions

Examples of play.exceptions.JavaExecutionException


                }
            }
        } catch (InvocationTargetException ex) {
            StackTraceElement element = PlayException.getInterestingStackTraceElement(ex.getTargetException());
            if (element != null) {
                throw new JavaExecutionException(Play.classes.getApplicationClass(element.getClassName()), element.getLineNumber(), ex.getTargetException());
            }
            throw new JavaExecutionException(Http.Request.current().action, ex);
        } catch (Exception e) {
            throw new UnexpectedException("Exception while doing @Finally", e);
        }
    }
View Full Code Here


                } else {
                    throw new TemplateExecutionException(this, this.linesMatrix.get(stackTraceElement.getLineNumber()), e.getMessage(), cleanStackTrace(e));
                }
            }
            if (stackTraceElement.getLineNumber() > 0 && Play.classes.hasClass(stackTraceElement.getClassName())) {
                throw new JavaExecutionException(Play.classes.getApplicationClass(stackTraceElement.getClassName()), stackTraceElement.getLineNumber(), cleanStackTrace(e));
            }
        }
        throw new RuntimeException(e);
    }
View Full Code Here

TOP

Related Classes of play.exceptions.JavaExecutionException

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.