Example usage for org.apache.commons.jelly JellyException JellyException

List of usage examples for org.apache.commons.jelly JellyException JellyException

Introduction

In this page you can find the example usage for org.apache.commons.jelly JellyException JellyException.

Prototype

public JellyException(String message, Throwable cause) 

Source Link

Usage

From source file:hudson.ExpressionFactory2.java

public Expression createExpression(String text) throws JellyException {
    try {/*from   w  w  w.  j  a  va 2  s.  com*/
        return new JexlExpression(org.apache.commons.jexl.ExpressionFactory.createExpression(text));
    } catch (Exception e) {
        throw new JellyException("Unable to create expression: " + text, e);
    }
}