📄 cannotproceedexception.html
字号:
Retrieves the <code>altName</code> field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/naming/Context.html">Context</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#getAltNameCtx()">getAltNameCtx</A></B>()</CODE><BR> Retrieves the <code>altNameCtx</code> field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/util/Hashtable.html">Hashtable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#getEnvironment()">getEnvironment</A></B>()</CODE><BR> Retrieves the environment that was in effect when this exception was created.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#getRemainingNewName()">getRemainingNewName</A></B>()</CODE><BR> Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#setAltName(javax.naming.Name)">setAltName</A></B>(<A HREF="../../javax/naming/Name.html">Name</A> altName)</CODE><BR> Sets the <code>altName</code> field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#setAltNameCtx(javax.naming.Context)">setAltNameCtx</A></B>(<A HREF="../../javax/naming/Context.html">Context</A> altNameCtx)</CODE><BR> Sets the <code>altNameCtx</code> field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#setEnvironment(java.util.Hashtable)">setEnvironment</A></B>(<A HREF="../../java/util/Hashtable.html">Hashtable</A> environment)</CODE><BR> Sets the environment that will be returned when getEnvironment() is called.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/naming/CannotProceedException.html#setRemainingNewName(javax.naming.Name)">setRemainingNewName</A></B>(<A HREF="../../javax/naming/Name.html">Name</A> newName)</CODE><BR> Sets the "remaining new name" field of this exception.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.naming.NamingException"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.naming.<A HREF="../../javax/naming/NamingException.html">NamingException</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/naming/NamingException.html#appendRemainingComponent(java.lang.String)">appendRemainingComponent</A>, <A HREF="../../javax/naming/NamingException.html#appendRemainingName(javax.naming.Name)">appendRemainingName</A>, <A HREF="../../javax/naming/NamingException.html#getExplanation()">getExplanation</A>, <A HREF="../../javax/naming/NamingException.html#getRemainingName()">getRemainingName</A>, <A HREF="../../javax/naming/NamingException.html#getResolvedName()">getResolvedName</A>, <A HREF="../../javax/naming/NamingException.html#getResolvedObj()">getResolvedObj</A>, <A HREF="../../javax/naming/NamingException.html#getRootCause()">getRootCause</A>, <A HREF="../../javax/naming/NamingException.html#printStackTrace()">printStackTrace</A>, <A HREF="../../javax/naming/NamingException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../javax/naming/NamingException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../javax/naming/NamingException.html#setRemainingName(javax.naming.Name)">setRemainingName</A>, <A HREF="../../javax/naming/NamingException.html#setResolvedName(javax.naming.Name)">setResolvedName</A>, <A HREF="../../javax/naming/NamingException.html#setResolvedObj(java.lang.Object)">setResolvedObj</A>, <A HREF="../../javax/naming/NamingException.html#setRootCause(java.lang.Throwable)">setRootCause</A>, <A HREF="../../javax/naming/NamingException.html#toString()">toString</A>, <A HREF="../../javax/naming/NamingException.html#toString(boolean)">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Throwable.html">Throwable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="../../java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="../../java/lang/Throwable.html#getMessage()">getMessage</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="remainingNewName"><!-- --></A><H3>remainingNewName</H3><PRE>protected <A HREF="../../javax/naming/Name.html">Name</A> <B>remainingNewName</B></PRE><DL><DD>Contains the remaining unresolved part of the second "name" argument to Context.rename(). This information necessary for continuing the Context.rename() operation. <p> This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getRemainingName() and setRemainingName().<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getRemainingNewName()"><CODE>getRemainingNewName()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setRemainingNewName(javax.naming.Name)"><CODE>setRemainingNewName(javax.naming.Name)</CODE></A></DL></DD></DL><HR><A NAME="environment"><!-- --></A><H3>environment</H3><PRE>protected <A HREF="../../java/util/Hashtable.html">Hashtable</A> <B>environment</B></PRE><DL><DD>Contains the environment relevant for the Context or DirContext method that cannot proceed. <p> This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getEnvironment() and setEnvironment().<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getEnvironment()"><CODE>getEnvironment()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setEnvironment(java.util.Hashtable)"><CODE>setEnvironment(java.util.Hashtable)</CODE></A></DL></DD></DL><HR><A NAME="altName"><!-- --></A><H3>altName</H3><PRE>protected <A HREF="../../javax/naming/Name.html">Name</A> <B>altName</B></PRE><DL><DD>Contains the name of the resolved object, relative to the context <code>altNameCtx</code>. It is a composite name. If null, then no name is specified. See the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method for details on how this is used. <p> This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getAltName() and setAltName().<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getAltName()"><CODE>getAltName()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setAltName(javax.naming.Name)"><CODE>setAltName(javax.naming.Name)</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#altNameCtx"><CODE>altNameCtx</CODE></A>, <A HREF="../../javax/naming/spi/ObjectFactory.html#getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)"><CODE>ObjectFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)</CODE></A></DL></DD></DL><HR><A NAME="altNameCtx"><!-- --></A><H3>altNameCtx</H3><PRE>protected <A HREF="../../javax/naming/Context.html">Context</A> <B>altNameCtx</B></PRE><DL><DD>Contains the context relative to which <code>altName</code> is specified. If null, then the default initial context is implied. See the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method for details on how this is used. <p> This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getAltNameCtx() and setAltNameCtx().<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getAltNameCtx()"><CODE>getAltNameCtx()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setAltNameCtx(javax.naming.Context)"><CODE>setAltNameCtx(javax.naming.Context)</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#altName"><CODE>altName</CODE></A>, <A HREF="../../javax/naming/spi/ObjectFactory.html#getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)"><CODE>ObjectFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)</CODE></A></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="CannotProceedException(java.lang.String)"><!-- --></A><H3>CannotProceedException</H3><PRE>public <B>CannotProceedException</B>(<A HREF="../../java/lang/String.html">String</A> explanation)</PRE><DL><DD>Constructs a new instance of CannotProceedException using an explanation. All unspecified fields default to null.<DD><DL><DT><B>Parameters:</B><DD><CODE>explanation</CODE> - A possibly null string containing additional
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -