|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.servlet.jsp Class JspException
java.lang.Object java.lang.Throwable java.lang.Exception javax.servlet.jsp.JspException
- 所有已实现的接口:
- Serializable
- 直接已知子类:
- JspTagException, SkipPageException
public class JspException
- extends Exception
A generic exception known to the JSP engine; uncaught JspExceptions will result in an invocation of the errorpage machinery.
- 另请参见:
- Serialized Form
构造器摘要 | |
---|---|
JspException()
Construct a JspException. |
|
JspException(String msg)
Constructs a new JSP exception with the specified message. |
|
JspException(String message,
Throwable cause)
Constructs a new JspException with the specified detail
message and cause. |
|
JspException(Throwable cause)
Constructs a new JspException with the specified cause. |
方法摘要 | |
---|---|
Throwable |
getRootCause()
Deprecated. As of JSP 2.1, replaced by Throwable.getCause() |
类方法继承 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 |
构造器详细信息 |
---|
JspException
public JspException()
- Construct a JspException.
JspException
public JspException(String msg)
- Constructs a new JSP exception with the
specified message. The message can be written
to the server log and/or displayed for the user.
- 参数:
msg
- aString
specifying the text of the exception message
JspException
public JspException(String message, Throwable cause)
- Constructs a new
JspException
with the specified detail message and cause. The cause is saved for later retrieval by theThrowable.getCause()
andgetRootCause()
methods.
JspException
public JspException(Throwable cause)
- Constructs a new
JspException
with the specified cause. The cause is saved for later retrieval by theThrowable.getCause()
andgetRootCause()
methods.
方法详细信息 |
---|
getRootCause
public Throwable getRootCause()
- Deprecated. As of JSP 2.1, replaced by
Throwable.getCause()
- Returns the exception that caused this JSP exception.
- 返回:
- the
Throwable
that caused this JSP exception
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.