anchor.diff:      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
  -    under the License.  
  +    under the License.
   --%>
   
   <%@ page isErrorPage="true" %>
  
positive.code: 
      Throwable realcause = null;
  
      if( exception != null )        
      {   
          msg = exception.getMessage();
          if( msg == null || msg.length() == 0 )
          {
              msg = "An unknown exception "+exception.getClass().getName()+" was caught by Error.jsp.";
          }
  
          //
          //  This allows us to get the actual cause of the exception.
          //  Note the cast; at least Tomcat has two classes called "JspException"
          //  imported in JSP pages.
          //
  
  
          if( exception instanceof javax.servlet.jsp.JspException )
          {
              log.debug("IS JSPEXCEPTION");
              realcause = ((javax.servlet.jsp.JspException)exception).getRootCause();
              log.debug("REALCAUSE="+realcause);
          }
  
          if( realcause == null ) realcause = exception;    
      }
      else
      {
          realcause = new Exception("Unknown general exception");
      }
  
      log.debug("Error.jsp exception is: ",exception);
  
  
negative.code: <%@ page import="org.apache.wiki.util.FileUtil" %>
  <%@ taglib uri="http://jspwiki.apache.org/tags" prefix="wiki" %>
  <%!
      Logger log = Logger.getLogger("JSPWiki");
  %>
  <%
      WikiEngine wiki = WikiEngine.getInstance( getServletConfig() );
      WikiContext wikiContext = wiki.createContext( request,
                                                    WikiContext.ERROR );
      String pagereq = wikiContext.getName();
  
  