站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

ELException (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.servlet.jsp.el
Class ELException

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

public class ELException
extends Exception

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

Since:
2.0
See Also:
Serialized Form

Constructor Summary
ELException()
          Creates an ELException with no detail message.
ELException(String pMessage)
          Creates an ELException with the provided detail message.
ELException(String pMessage, Throwable pRootCause)
          Creates an ELException with the given detail message and root cause.
ELException(Throwable pRootCause)
          Creates an ELException with the given root cause.
 
Method Summary
 Throwable getRootCause()
          Returns the root cause.
 
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

ELException

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


ELException

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

Parameters:
pMessage - the detail message

ELException

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

Parameters:
pRootCause - the originating cause of this exception

ELException

public ELException(String pMessage,
                   Throwable pRootCause)
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

getRootCause

public Throwable getRootCause()
Returns the root cause.

Returns:
the root cause of this exception

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.