ELException (Java EE 5)

Java EE API


javax.servlet.jsp.el Class ELException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.el.ELException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ELParseException

Deprecated. As of JSP 2.1, replaced by ELException

Extends: Throwable > Exception
Extended by: ELParseException

表示计算器求值操作期间出现的任何异常情况。
英文文档:

public class ELException
extends Exception

Represents any of the exception conditions that arise during the operation evaluation of the evaluator.

Since:
JSP 2.0
See Also:
Serialized Form

Constructor Summary
 
Method Summary
 Throwable
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public ELException()
创建不带详细消息的 ELException。
英文文档:

ELException

public ELException()
Deprecated. 
Creates an ELException with no detail message.


public ELException(String pMessage)
创建带有提供的详细消息的 ELException。
pMessage 详细信息
英文文档:

ELException

public ELException(String pMessage)
Deprecated. 
Creates an ELException with the provided detail message.

Parameters:
pMessage - the detail message


public ELException(Throwable pRootCause)
创建带有给定根本原因的 ELException。
pRootCause 此异常的根本原因
英文文档:

ELException

public ELException(Throwable pRootCause)
Deprecated. 
Creates an ELException with the given root cause.

Parameters:
pRootCause - the originating cause of this exception


public ELException(String pMessage, Throwable pRootCause)
创建带有给定详细消息和根本原因的 ELException。
pMessage 详细信息
pRootCause 此异常的根本原因
英文文档:

ELException

public ELException(String pMessage,
                   Throwable pRootCause)
Deprecated. 
Creates an ELException with the given detail message and root cause.

Parameters:
pMessage - the detail message
pRootCause - the originating cause of this exception

Method Detail

public Throwable getRootCause()
返回根本原因。
return 此异常的根本原因
英文文档:

getRootCause

public Throwable getRootCause()
Deprecated. 
Returns the root cause.

Returns:
the root cause of this exception


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!