org.apache.sling.scripting.jsp
Class SlingPageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.sling.api.SlingException
                  extended by org.apache.sling.scripting.jsp.SlingPageException
All Implemented Interfaces:
java.io.Serializable

public class SlingPageException
extends org.apache.sling.api.SlingException

The SlingPageException is a runtime exception. This exception is used to handle the JSP page exception handler <%@ page errorPage= scenario and forward as a runtime exception to be handled at the outermost level.

See Also:
Serialized Form

Constructor Summary
SlingPageException(java.lang.String errorPage)
           
 
Method Summary
 java.lang.String getErrorPage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlingPageException

public SlingPageException(java.lang.String errorPage)
Method Detail

getErrorPage

public java.lang.String getErrorPage()


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.