Package com.caucho.jsp

Examples of com.caucho.jsp.JspLineParseException


  protected JspParseException error(String msg, Throwable e)
  {
    if (_filename != null) {
      String lines = _gen.getSourceLines(_sourcePath, _startLine);
     
      return new JspLineParseException(_filename + ":" + _startLine + ": " + msg + lines, e);
    }
    else
      return new JspParseException(msg, e);
  }
View Full Code Here


  protected JspParseException error(Throwable e)
  {
    if (e instanceof JspLineParseException)
      return (JspParseException) e;
    else if (_filename == null || e instanceof LineCompileException)
      return new JspLineParseException(e);

    String msg;
   
    if (e instanceof CompileException)
      msg = e.getMessage();
    else
      msg = String.valueOf(e);
   
    String lines = _gen.getSourceLines(_sourcePath, _startLine);
     
    return new JspLineParseException(_filename + ":" + _startLine + ": " + msg + lines, e);
  }
View Full Code Here

      throw e;
    } catch (Throwable e) {
      log.warning(_configLocation +  e);

      if (_configException == null)
        _configException = new JspLineParseException(_configLocation + e);

      return;
    }

    if (! Tag.class.isAssignableFrom(tagClass)
View Full Code Here

      throw e;
    } catch (Throwable e) {
      log.warning(_configLocation +  e);

      if (_configException == null)
  _configException = new JspLineParseException(_configLocation + e);

      return;
    }

    if (! Tag.class.isAssignableFrom(tagClass)
View Full Code Here

  protected JspParseException error(String msg, Throwable e)
  {
    if (_filename != null) {
      String lines = _gen.getSourceLines(_sourcePath, _startLine);
     
      return new JspLineParseException(_filename + ":" + _startLine + ": " + msg + lines, e);
    }
    else
      return new JspParseException(msg, e);
  }
View Full Code Here

  protected JspParseException error(Throwable e)
  {
    if (e instanceof JspLineParseException)
      return (JspParseException) e;
    else if (_filename == null || e instanceof LineCompileException)
      return new JspLineParseException(e);

    String msg;
   
    if (e instanceof CompileException)
      msg = e.getMessage();
    else
      msg = String.valueOf(e);
   
    String lines = _gen.getSourceLines(_sourcePath, _startLine);
     
    return new JspLineParseException(_filename + ":" + _startLine + ": " + msg + lines, e);
  }
View Full Code Here

TOP

Related Classes of com.caucho.jsp.JspLineParseException

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.