Package yalp.exceptions

Examples of yalp.exceptions.JavaExecutionException


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


                } catch (YalpException e) {
                    throw e;
                } catch (Exception e) {
                    StackTraceElement element = YalpException.getInterestingStrackTraceElement(e);
                    if (element != null) {
                        throw new JavaExecutionException(Yalp.classes.getApplicationClass(element.getClassName()), element.getLineNumber(), e);
                    }
                    throw e;
                }
                after();
                return result;
View Full Code Here

                if (ex.getTargetException() instanceof YalpException) {
                    throw (YalpException) ex.getTargetException();
                }
                StackTraceElement element = YalpException.getInterestingStrackTraceElement(ex.getTargetException());
                if (element != null) {
                    throw new JavaExecutionException(Yalp.classes.getApplicationClass(element.getClassName()), element.getLineNumber(), ex.getTargetException());
                }
                throw new JavaExecutionException(Http.Request.current().action, ex);
            }

        } catch (Result result) {

            Yalp.pluginCollection.onActionInvocationResult(result);
View Full Code Here

                }
            }
        } catch (InvocationTargetException ex) {
            StackTraceElement element = YalpException.getInterestingStrackTraceElement(ex.getTargetException());
            if (element != null) {
                throw new JavaExecutionException(Yalp.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

TOP

Related Classes of yalp.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.