📄 cannotproceedexception.html
字号:
detail about this exception. If null, this exception has no detail message.<DT><B>See Also: </B><DD><A HREF="../../java/lang/Throwable.html#getMessage()"><CODE>Throwable.getMessage()</CODE></A></DL></DD></DL><HR><A NAME="CannotProceedException()"><!-- --></A><H3>CannotProceedException</H3><PRE>public <B>CannotProceedException</B>()</PRE><DL><DD>Constructs a new instance of CannotProceedException. All fields default to null.</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="getEnvironment()"><!-- --></A><H3>getEnvironment</H3><PRE>public <A HREF="../../java/util/Hashtable.html">Hashtable</A> <B>getEnvironment</B>()</PRE><DL><DD>Retrieves the environment that was in effect when this exception was created.<DD><DL><DT><B>Returns:</B><DD>Possibly null environment property set. null means no environment was recorded for this exception.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#setEnvironment(java.util.Hashtable)"><CODE>setEnvironment(java.util.Hashtable)</CODE></A></DL></DD></DL><HR><A NAME="setEnvironment(java.util.Hashtable)"><!-- --></A><H3>setEnvironment</H3><PRE>public void <B>setEnvironment</B>(<A HREF="../../java/util/Hashtable.html">Hashtable</A> environment)</PRE><DL><DD>Sets the environment that will be returned when getEnvironment() is called.<DD><DL><DT><B>Parameters:</B><DD><CODE>environment</CODE> - A possibly null environment property set. null means no environment is being recorded for this exception.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getEnvironment()"><CODE>getEnvironment()</CODE></A></DL></DD></DL><HR><A NAME="getRemainingNewName()"><!-- --></A><H3>getRemainingNewName</H3><PRE>public <A HREF="../../javax/naming/Name.html">Name</A> <B>getRemainingNewName</B>()</PRE><DL><DD>Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.<DD><DL><DT><B>Returns:</B><DD>The possibly null part of the new name that has not been resolved. It is a composite name. It can be null, which means the remaining new name field has not been set.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#setRemainingNewName(javax.naming.Name)"><CODE>setRemainingNewName(javax.naming.Name)</CODE></A></DL></DD></DL><HR><A NAME="setRemainingNewName(javax.naming.Name)"><!-- --></A><H3>setRemainingNewName</H3><PRE>public void <B>setRemainingNewName</B>(<A HREF="../../javax/naming/Name.html">Name</A> newName)</PRE><DL><DD>Sets the "remaining new name" field of this exception. This is the value returned by <code>getRemainingName()</code>.<p> <tt>newName</tt> is a composite name. If the intent is to set this field using a compound name or string, you must "stringify" the compound name, and create a composite name with a single component using the string. You can then invoke this method using the resulting composite name.<p> A copy of <code>newName</code> is made and stored. Subsequent changes to <code>name</code> does not affect the copy in this NamingException and vice versa.<DD><DL><DT><B>Parameters:</B><DD><CODE>newName</CODE> - The possibly null name to set the "remaining new name" to. If null, it sets the remaining name field to null.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getRemainingNewName()"><CODE>getRemainingNewName()</CODE></A></DL></DD></DL><HR><A NAME="getAltName()"><!-- --></A><H3>getAltName</H3><PRE>public <A HREF="../../javax/naming/Name.html">Name</A> <B>getAltName</B>()</PRE><DL><DD>Retrieves the <code>altName</code> field of this exception. This is the name of the resolved object, relative to the context <code>altNameCtx</code>. It will be used during a subsequent call to the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method.<DD><DL><DT><B>Returns:</B><DD>The name of the resolved object, relative to <code>altNameCtx</code>. It is a composite name. If null, then no name is specified.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#setAltName(javax.naming.Name)"><CODE>setAltName(javax.naming.Name)</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#getAltNameCtx()"><CODE>getAltNameCtx()</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="setAltName(javax.naming.Name)"><!-- --></A><H3>setAltName</H3><PRE>public void <B>setAltName</B>(<A HREF="../../javax/naming/Name.html">Name</A> altName)</PRE><DL><DD>Sets the <code>altName</code> field of this exception.<DD><DL><DT><B>Parameters:</B><DD><CODE>altName</CODE> - The name of the resolved object, relative to <code>altNameCtx</code>. It is a composite name. If null, then no name is specified.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getAltName()"><CODE>getAltName()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setAltNameCtx(javax.naming.Context)"><CODE>setAltNameCtx(javax.naming.Context)</CODE></A></DL></DD></DL><HR><A NAME="getAltNameCtx()"><!-- --></A><H3>getAltNameCtx</H3><PRE>public <A HREF="../../javax/naming/Context.html">Context</A> <B>getAltNameCtx</B>()</PRE><DL><DD>Retrieves the <code>altNameCtx</code> field of this exception. This is the context relative to which <code>altName</code> is named. It will be used during a subsequent call to the <code>javax.naming.spi.ObjectFactory.getObjectInstance</code> method.<DD><DL><DT><B>Returns:</B><DD>The context relative to which <code>altName</code> is named. If null, then the default initial context is implied.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#setAltNameCtx(javax.naming.Context)"><CODE>setAltNameCtx(javax.naming.Context)</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#getAltName()"><CODE>getAltName()</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="setAltNameCtx(javax.naming.Context)"><!-- --></A><H3>setAltNameCtx</H3><PRE>public void <B>setAltNameCtx</B>(<A HREF="../../javax/naming/Context.html">Context</A> altNameCtx)</PRE><DL><DD>Sets the <code>altNameCtx</code> field of this exception.<DD><DL><DT><B>Parameters:</B><DD><CODE>altNameCtx</CODE> - The context relative to which <code>altName</code> is named. If null, then the default initial context is implied.<DT><B>See Also: </B><DD><A HREF="../../javax/naming/CannotProceedException.html#getAltNameCtx()"><CODE>getAltNameCtx()</CODE></A>, <A HREF="../../javax/naming/CannotProceedException.html#setAltName(javax.naming.Name)"><CODE>setAltName(javax.naming.Name)</CODE></A></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="#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="class-use/CannotProceedException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/naming/AuthenticationNotSupportedException.html"><B>PREV CLASS</B></A> <A HREF="../../javax/naming/CommunicationException.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="CannotProceedException.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><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -