📄 jco.exception.html
字号:
<A NAME="JCO_ERROR_NOT_SUPPORTED"><!-- --></A><H3>
JCO_ERROR_NOT_SUPPORTED</H3>
<PRE>
public static final int <B>JCO_ERROR_NOT_SUPPORTED</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_SERVER_STARTUP"><!-- --></A><H3>
JCO_ERROR_SERVER_STARTUP</H3>
<PRE>
public static final int <B>JCO_ERROR_SERVER_STARTUP</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_XML_PARSER"><!-- --></A><H3>
JCO_ERROR_XML_PARSER</H3>
<PRE>
public static final int <B>JCO_ERROR_XML_PARSER</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_ILLEGAL_ARGUMENT"><!-- --></A><H3>
JCO_ERROR_ILLEGAL_ARGUMENT</H3>
<PRE>
public static final int <B>JCO_ERROR_ILLEGAL_ARGUMENT</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_CONCURRENT_CALL"><!-- --></A><H3>
JCO_ERROR_CONCURRENT_CALL</H3>
<PRE>
public static final int <B>JCO_ERROR_CONCURRENT_CALL</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_INVALID_HANDLE"><!-- --></A><H3>
JCO_ERROR_INVALID_HANDLE</H3>
<PRE>
public static final int <B>JCO_ERROR_INVALID_HANDLE</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_INITIALIZATION"><!-- --></A><H3>
JCO_ERROR_INITIALIZATION</H3>
<PRE>
public static final int <B>JCO_ERROR_INITIALIZATION</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_DSR_LOAD_ERROR"><!-- --></A><H3>
JCO_ERROR_DSR_LOAD_ERROR</H3>
<PRE>
public static final int <B>JCO_ERROR_DSR_LOAD_ERROR</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_DSR_PASSPORT_NOT_RECEIVED"><!-- --></A><H3>
JCO_ERROR_DSR_PASSPORT_NOT_RECEIVED</H3>
<PRE>
public static final int <B>JCO_ERROR_DSR_PASSPORT_NOT_RECEIVED</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_DSR_PASSPORT_NOT_VALID"><!-- --></A><H3>
JCO_ERROR_DSR_PASSPORT_NOT_VALID</H3>
<PRE>
public static final int <B>JCO_ERROR_DSR_PASSPORT_NOT_VALID</B></PRE>
<DL>
</DL>
<HR>
<A NAME="JCO_ERROR_JARM_LOAD_ERROR"><!-- --></A><H3>
JCO_ERROR_JARM_LOAD_ERROR</H3>
<PRE>
public static final int <B>JCO_ERROR_JARM_LOAD_ERROR</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="JCO.Exception(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
JCO.Exception</H3>
<PRE>
public <B>JCO.Exception</B>(int group, java.lang.String key, java.lang.String message)</PRE>
<DL>
<DD>Creates an instance of the error object with the specified message<DD><DL>
<DT><B>Parameters:</B><DD><CODE>group</CODE> - the error group<DD><CODE>key</CODE> - error code to identify the error<DD><CODE>message</CODE> - the specified detail message.</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getGroup()"><!-- --></A><H3>
getGroup</H3>
<PRE>
public final int <B>getGroup</B>()</PRE>
<DL>
<DD>Returns the error group. <p>The error group can be one of the following constants: <table border="1" > <tr><th>Constant</th><th>Description</th ></tr > <tr><td>JCO_ERROR_ABAP_EXCEPTION </td><td> An exception has been thrown by a function module in the remote system </td></tr> <tr><td>JCO_ERROR_APPLICATION_EXCEPTION </td><td> An application exception has occurred in the remote SAP system </td></tr> <tr><td>JCO_ERROR_CANCELLED </td><td> A registered JCo server has been cancelled </td></tr> <tr><td>JCO_ERROR_COMMUNICATION </td><td> Exception caused by network problems, connection breakdowns, gateway problems, inavailability of the remote SAP system, etc. </td></tr> <tr><td>JCO_ERROR_CONVERSION </td><td> A conversion between two representations of either a parameter, structure, or table field has failed </td></tr> <tr><td>JCO_ERROR_FIELD_NOT_FOUND </td><td> A referenced field in either a JCO.ParameterList, JCO.Structure, or JCO.Table does not exist </td></tr> <tr><td>JCO_ERROR_FUNCTION_NOT_FOUND </td><td> A function interface or one of the data structures could not completely be retrieved from the repository </td></tr> <tr><td>JCO_ERROR_ILLEGAL_TID </td><td> An invalid transaction ID has been encountered. The TID was either longer than 24 characters or contained illegal characters </td></tr> <tr><td>JCO_ERROR_INITIALIZATION </td><td> An initialization process failed </td></tr> <tr><td>JCO_ERROR_INTERNAL </td><td> An exception inside of JCo </td></tr> <tr><td>JCO_ERROR_LOGON_FAILURE </td><td> Authorization failures during the logon phase usually caused by unknown username, wrong password, invalid certificates, etc. </td></tr> <tr><td>JCO_ERROR_NOT_SUPPORTED </td><td> A feature is not being supported by the current version of JCo </td></tr> <tr><td>JCO_ERROR_NULL_HANDLE </td><td> An internally used connection handle is invalid </td></tr> <tr><td>JCO_ERROR_PROGRAM </td><td> A general program exception has occurred </td></tr> <tr><td>JCO_ERROR_PROTOCOL </td><td> An internal communication protocol error has been detected </td></tr> <tr><td>JCO_ERROR_RESOURCE </td><td> Indicates that JCO has run out of resources such as connections in a connection pool </td></tr> <tr><td>JCO_ERROR_SERVER_STARTUP </td><td> Something went wrong during the startup phase of a JCo server usually caused by passing a wrong gateway host or gateway service </td></tr> <tr><td>JCO_ERROR_STATE_BUSY </td><td> The remote SAP system is busy. Try again later </td></tr> <tr><td>JCO_ERROR_SYSTEM_FAILURE </td><td> A system failure in the remote SAP system has occurred </td></tr> <tr><td>JCO_ERROR_UNSUPPORTED_CODEPAGE </td><td> Either the remote SAP system or the local systems runs under a codepage which is not supported by JCo </td></tr> <tr><td>JCO_ERROR_XML_PARSER </td><td> A parse error due to an invalid XML document has occurred </td></tr> <tr><td>JCO_ERROR_ILLEGAL_ARGUMENT </td><td> An illegal method argument has been detected </td></tr> <tr><td>JCO_ERROR_CONCURRENT_CALL </td><td> A concurrent method call has been detected </td></tr> </table><DD><DL>
<DT><B>Returns:</B><DD>the error group</DL>
</DD>
</DL>
<HR>
<A NAME="getKey()"><!-- --></A><H3>
getKey</H3>
<PRE>
public final java.lang.String <B>getKey</B>()</PRE>
<DL>
<DD>Returns the error key<DD><DL>
<DT><B>Returns:</B><DD>the error key</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a short description of this error<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Throwable</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a string representaion of this <tt>JCO.Exception</tt>.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JCO.Exception.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-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">
<A HREF="../../../../com/sap/mw/jco/JCO.ConversionException.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/sap/mw/jco/JCO.Field.html"><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>
<A HREF="JCO.Exception.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -