📄 customresourceexception.html
字号:
</TR>
</TABLE>
<A NAME="CustomResourceException()"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>()</PRE>
<DL>
<DD>Constructs a CustomResourceException.
<P>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.String)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified message text.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - Message text.</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.String, java.lang.String)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> errorCode)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified message text and specified error code
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - Message text.<DD><CODE>errorCode</CODE> - error code</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified detail message and cause.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the detail message (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang"><CODE>Throwable.getMessage()</CODE></A> method).<DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang"><CODE>Throwable.getCause()</CODE></A> method). (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.String, java.lang.Throwable, java.lang.String)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> errorCode)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified detail message and cause and error code.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the detail message (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang"><CODE>Throwable.getMessage()</CODE></A> method).<DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang"><CODE>Throwable.getCause()</CODE></A> method). (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)<DD><CODE>errorCode</CODE> - error code</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.Throwable)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified cause and a detail message of <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/security/PrivilegedActionException.html" title="class or interface in java.security"><CODE>PrivilegedActionException</CODE></A>).
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang"><CODE>Throwable.getCause()</CODE></A> method). (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.Throwable, java.lang.String)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> errorCode)</PRE>
<DL>
<DD>Constructs a CustomResourceException with the specified cause and error code.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - the cause (which is saved for later retrieval by the <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang"><CODE>Throwable.getCause()</CODE></A> method). (A <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)<DD><CODE>errorCode</CODE> - error code</DL>
</DL>
<HR>
<A NAME="CustomResourceException(java.lang.String, com.bea.wli.sb.sources.Source)"><!-- --></A><H3>
CustomResourceException</H3>
<PRE>
public <B>CustomResourceException</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message,
<A HREF="../../../../../com/bea/wli/sb/sources/Source.html" title="interface in com.bea.wli.sb.sources">Source</A> errorPayload)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getErrorPayload()"><!-- --></A><H3>
getErrorPayload</H3>
<PRE>
public <A HREF="../../../../../com/bea/wli/sb/sources/Source.html" title="interface in com.bea.wli.sb.sources">Source</A> <B>getErrorPayload</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getErrorCode()"><!-- --></A><H3>
getErrorCode</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getErrorCode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="newInstance(java.lang.Throwable)"><!-- --></A><H3>
newInstance</H3>
<PRE>
public static <A HREF="../../../../../com/bea/alsb/resources/custom/CustomResourceException.html" title="class in com.bea.alsb.resources.custom">CustomResourceException</A> <B>newInstance</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE>
<DL>
<DD>Most transport SDK API signatures declare only CustomResourceException to be thrown. This utility method will wrap any Transport or non-Transport exception appropriately in a CustomResourceException. Typical usage is <p/> <pre> void someAPI() throws CustomResourceException { try { .... } catch (Exception e) { throw CustomResourceException.newInstance(e); } } </pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cause</CODE> - original cause of the exception
<DT><B>Returns:</B><DD>new CustomResourceException that wraps the original cause</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=2 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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../../com/bea/alsb/resources/custom/ResourceInstanceData.html" title="interface in com.bea.alsb.resources.custom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/bea/alsb/resources/custom/CustomResourceException.html" target="_top"><B>FRAMES</B></A>
<A HREF="CustomResourceException.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -