SkipPageException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.servlet.jsp Class SkipPageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by javax.servlet.jsp.SkipPageException
所有已实现的接口:
Serializable

public class SkipPageException
extends JspException

Exception to indicate the calling page must cease evaluation. Thrown by a simple tag handler to indicate that the remainder of the page must not be evaluated. The result is propagated back to the pagein the case where one tag invokes another (as can be the case with tag files). The effect is similar to that of a Classic Tag Handler returning Tag.SKIP_PAGE from doEndTag(). Jsp Fragments may also throw this exception. This exception should not be thrown manually in a JSP page or tag file - the behavior is undefined. The exception is intended to be thrown inside SimpleTag handlers and in JSP fragments.

从以下版本开始:
JSP 2.0
另请参见:
SimpleTag.doTag(), JspFragment.invoke(java.io.Writer), Tag.doEndTag(), Serialized Form

构造器摘要
SkipPageException()
          Creates a SkipPageException with no message.
SkipPageException(String message)
          Creates a SkipPageException with the provided message.
SkipPageException(String message, Throwable rootCause)
          Creates a SkipPageException with the provided message and root cause.
SkipPageException(Throwable rootCause)
          Creates a SkipPageException with the provided root cause.
 
方法摘要
 
类方法继承 javax.servlet.jsp.JspException
getRootCause
 
类方法继承 java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

SkipPageException

public SkipPageException()
Creates a SkipPageException with no message.


SkipPageException

public SkipPageException(String message)
Creates a SkipPageException with the provided message.

参数:
message - the detail message


SkipPageException

public SkipPageException(String message,
                         Throwable rootCause)
Creates a SkipPageException with the provided message and root cause.

参数:
message - the detail message
rootCause - the originating cause of this exception


SkipPageException

public SkipPageException(Throwable rootCause)
Creates a SkipPageException with the provided root cause.

参数:
rootCause - the originating cause of this exception


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.