bundles/org.apache.jasper.glassfish/src/org/apache/jasper/JspC.java
public List<JasperException> getJSPCompilationErrors() {

        ArrayList<JasperException> ret = null;

        Collection<JasperException> c = jspErrors.values();
        if (c != null) {
            ret = new ArrayList<JasperException>();
            Iterator<JasperException> it = c.iterator();
            while (it.hasNext()) {
                ret.add(it.next());
            }
        }

        return ret;
    }
public List<JasperException> getJSPCompilationErrors() {

        ArrayList<JasperException> ret = null;

        Collection<JasperException> c = jspErrors.values();
        if (c != null) {
            ret = new ArrayList<JasperException>();
            Iterator<JasperException> it = c.iterator();
            while (it.hasNext()) {
                ret.add(it.next());
            }
        }

        return ret;
    }
Gets the list of JSP compilation errors caught during the most recent
invocation of this instance's <code>execute</code> method when
failOnError has been set to FALSE.

Each error error in the list is represented by an instance of
org.apache.jasper.JasperException.

@return List of JSP compilation errors caught during most recent
invocation of this instance's <code>execute</code> method, or an empty
list if no errors were encountered or this instance's failOnError
property was set to TRUE