javax.servlet.jsp
类 SkipPageException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 javax.servlet.jsp.JspException
              继承者 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(), 序列化表格

构造方法摘要
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


Copyright © 2013. All Rights Reserved.