📄 pimexception.html
字号:
</TR>
</TABLE>
<A NAME="FEATURE_NOT_SUPPORTED"><!-- --></A><H3>
FEATURE_NOT_SUPPORTED</H3>
<PRE>
public static final int <B>FEATURE_NOT_SUPPORTED</B></PRE>
<DL>
<DD>
Indicates a PIM exception where the functionality is not supported in this
implementation.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.FEATURE_NOT_SUPPORTED">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="GENERAL_ERROR"><!-- --></A><H3>
GENERAL_ERROR</H3>
<PRE>
public static final int <B>GENERAL_ERROR</B></PRE>
<DL>
<DD>
Indicates a general PIM exception error. This is the default value for the
reason code.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.GENERAL_ERROR">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="LIST_CLOSED"><!-- --></A><H3>
LIST_CLOSED</H3>
<PRE>
public static final int <B>LIST_CLOSED</B></PRE>
<DL>
<DD>
Indicates a PIM exception where a list is closed and access is attempted.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.LIST_CLOSED">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="LIST_NOT_ACCESSIBLE"><!-- --></A><H3>
LIST_NOT_ACCESSIBLE</H3>
<PRE>
public static final int <B>LIST_NOT_ACCESSIBLE</B></PRE>
<DL>
<DD>
Indicates a PIM exception where a list is no longer accessible by the
application, such as if the underlying PIM database is deleted.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.LIST_NOT_ACCESSIBLE">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="MAX_CATEGORIES_EXCEEDED"><!-- --></A><H3>
MAX_CATEGORIES_EXCEEDED</H3>
<PRE>
public static final int <B>MAX_CATEGORIES_EXCEEDED</B></PRE>
<DL>
<DD>
Indicates the max number of categories is exceeded.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.MAX_CATEGORIES_EXCEEDED">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="UNSUPPORTED_VERSION"><!-- --></A><H3>
UNSUPPORTED_VERSION</H3>
<PRE>
public static final int <B>UNSUPPORTED_VERSION</B></PRE>
<DL>
<DD>
Indicates the data is in an unsupported PIM version.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.UNSUPPORTED_VERSION">Constant
Field Values</A></DD></DL>
</DD>
</DL>
<HR>
<A NAME="UPDATE_ERROR"><!-- --></A><H3>
UPDATE_ERROR</H3>
<PRE>
public static final int <B>UPDATE_ERROR</B></PRE>
<DL>
<DD>
Indicates a PIM exception where the update could not continue.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.PIMException.UPDATE_ERROR">Constant
Field Values</A></DD></DL>
</DD>
</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="PIMException()"><!-- --></A><H3>
PIMException</H3>
<PRE>
public <B>PIMException</B>()</PRE>
<DL>
<DD>
Constructs a new instance of this class with its stack trace filled in. The
reason code for this exception is set to the default value of <code>GENERAL_ERROR</code>.
<P></P>
</DD>
</DL>
<HR>
<A NAME="PIMException(java.lang.String)"><!-- --></A><H3>
PIMException</H3>
<PRE>
public <B>PIMException</B>(java.lang.String detailMessage)</PRE>
<DL>
<DD>
Constructs a new instance of this class with its stacktrace and message filled
in. The reason code for this exception is set to the default value of <code>GENERAL_ERROR</code>.
<P></P>
<DT><B>Parameters:</B><DD><CODE>detailMessage</CODE> - String The detail message for
the exception.</DD></DL>
<HR>
<A NAME="PIMException(java.lang.String, int)"><!-- --></A><H3>
PIMException</H3>
<PRE>
public <B>PIMException</B>(java.lang.String detailMessage,
int reason)</PRE>
<DL>
<DD>
Constructs a new instance of this class with its stacktrace, message, and
reason filled in.
<P></P>
<DT><B>Parameters:</B><DD><CODE>detailMessage</CODE> - String The detail message for
the exception.<DD><CODE>reason</CODE> - int Integer representing the reason for the
exception.</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="getReason()"><!-- --></A><H3>
getReason</H3>
<PRE>
public int <B>getReason</B>()</PRE>
<DL>
<DD>
Returns the reason for the PIM Exception. The int returned is one of the static
error reason values defined in this class.
<P></P>
<DD>
<DL>
<DT><B>Returns:</B><DD>int reason for the exception.</DD></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="3" BGCOLOR="#eeeeff" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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> Final Release<br>
Rev. 1.00</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/microedition/pim/FieldFullException.html"><B>PREV
CLASS</B></A> <A HREF="../../../javax/microedition/pim/UnsupportedFieldException.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="PIMException.html" TARGET="_top"><B>NO
FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT>
</TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <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>
<font size="-1">Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -