⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errorresponseinfo.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ErrorResponseInfo(int)"><!-- --></A><H3>ErrorResponseInfo</H3><PRE>public <B>ErrorResponseInfo</B>(int&nbsp;errorCode)</PRE><DL><DD>Constructs an ErrorResponseInfo object with only the error code (that is, no text).<P><DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - the int error code</DL><HR><A NAME="ErrorResponseInfo(int, java.lang.String)"><!-- --></A><H3>ErrorResponseInfo</H3><PRE>public <B>ErrorResponseInfo</B>(int&nbsp;errorCode,                         java.lang.String&nbsp;errorText)</PRE><DL><DD>Constructs an ErrorResponseInfo object with error code and text.<P><DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - the int error code<DD><CODE>errorText</CODE> - the error text</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getErrorCode()"><!-- --></A><H3>getErrorCode</H3><PRE>public int <B>getErrorCode</B>()</PRE><DL><DD>Returns the error code.<P><DD><DL><DT><B>Returns:</B><DD>returns the error code</DL></DD></DL><HR><A NAME="getErrorText()"><!-- --></A><H3>getErrorText</H3><PRE>public java.lang.String <B>getErrorText</B>()</PRE><DL><DD>Returns the error text.<P><DD><DL><DT><B>Returns:</B><DD>returns the error text, can be <code>null</code> if not set</DL></DD></DL><HR><A NAME="getErrorResponse(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>getErrorResponse</H3><PRE>public static <A HREF="../../../../../com/ibm/wps/portlets/struts/ErrorResponseInfo.html" title="class in com.ibm.wps.portlets.struts">ErrorResponseInfo</A> <B>getErrorResponse</B>(javax.servlet.http.HttpServletRequest&nbsp;request)</PRE><DL><DD>Returns the <code>ErrorResponseInfo</code> object from session if one can be found. If <code>null</code> is returned then the processing did not result in a call to sendError.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object<DT><B>Returns:</B><DD>returns the ErrorResponseInfo object if present or <code>null</code> otherwise</DL></DD></DL><HR><A NAME="setErrorResponse(javax.servlet.http.HttpServletRequest, int)"><!-- --></A><H3>setErrorResponse</H3><PRE>public static void <B>setErrorResponse</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                                    int&nbsp;errorCode)</PRE><DL><DD>Sets an error code. The error code can be retrieved when the <code>IViewCommands</code> are created. If an error has been detected then a  <code>WpsStrutsViewErrorCommand</code> will be created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object<DD><CODE>errorCode</CODE> - the error status code</DL></DD></DL><HR><A NAME="setErrorResponse(javax.servlet.http.HttpServletRequest, int, java.lang.String)"><!-- --></A><H3>setErrorResponse</H3><PRE>public static void <B>setErrorResponse</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                                    int&nbsp;errorCode,                                    java.lang.String&nbsp;errorText)</PRE><DL><DD>Sets an error code and error text. The error code and text can be retrieved when the <code>IViewCommands</code> are created. If an  error has been detected then a <code>WpsStrutsViewErrorCommand</code> object will be created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object<DD><CODE>errorCode</CODE> - the error status code<DD><CODE>errorText</CODE> - the error status text</DL></DD></DL><HR><A NAME="clearErrorResponse(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>clearErrorResponse</H3><PRE>public static void <B>clearErrorResponse</B>(javax.servlet.http.HttpServletRequest&nbsp;request)</PRE><DL><DD>Removes error information. Once the appropriate <code>WpsStrutsViewCommand</code>  has been created for this error, the error information should be removed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../com/ibm/wps/portlets/struts/PortletDataUserConfigurationDataStore.html" title="class in com.ibm.wps.portlets.struts"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ErrorResponseInfo.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -