Ja-Jakarta
Translation

javax.servlet.jsp
クラス JspTagException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 javax.servlet.jsp.JspException
              上位を拡張 javax.servlet.jsp.JspTagException
すべての実装されたインタフェース:
java.io.Serializable

public class JspTagException
extends JspException

Exception to be used by a Tag Handler to indicate some unrecoverable error. This error is to be caught by the top level of the JSP page and will result in an error page.

関連項目:
直列化された形式

コンストラクタの概要
JspTagException()
          Constructs a new JspTagException with no message.
JspTagException(java.lang.String msg)
          Constructs a new JspTagException with the specified message.
JspTagException(java.lang.String message, java.lang.Throwable rootCause)
          Constructs a new JspTagException when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.
JspTagException(java.lang.Throwable rootCause)
          Constructs a new JSP Tag exception when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
 
メソッドの概要
 
クラス 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
 

コンストラクタの詳細

JspTagException

public JspTagException(java.lang.String msg)
Constructs a new JspTagException with the specified message. The message can be written to the server log and/or displayed for the user.

パラメータ:
msg - a String specifying the text of the exception message

JspTagException

public JspTagException()
Constructs a new JspTagException with no message.


JspTagException

public JspTagException(java.lang.String message,
                       java.lang.Throwable rootCause)
Constructs a new JspTagException when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message.

パラメータ:
message - a String containing the text of the exception message
rootCause - the Throwable exception that interfered with the JSP Tag's normal operation, making this JSP Tag exception necessary
導入されたバージョン:
2.0

JspTagException

public JspTagException(java.lang.Throwable rootCause)
Constructs a new JSP Tag exception when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. The exception's message is based on the localized message of the underlying exception.

This method calls the getLocalizedMessage method on the Throwable exception to get a localized exception message. When subclassing JspTagException, this method can be overridden to create an exception message designed for a specific locale.

パラメータ:
rootCause - the Throwable exception that interfered with the JSP Tag's normal operation, making the JSP Tag exception necessary
導入されたバージョン:
2.0

Ja-Jakarta
Translation

Copyright © 2000- The Apache Software Foundation. All rights Reserved.