< prev index next >

src/java.naming/share/classes/javax/naming/NamingException.java

Print this page


   1 /*
   2  * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  62      * Contains the part of the name that has been successfully resolved.
  63      * It is a composite name and can be null.
  64      * This field is initialized by the constructors.
  65      * You should access and manipulate this field
  66      * through its get and set methods.
  67      * @serial
  68      * @see #getResolvedName
  69      * @see #setResolvedName
  70      */
  71     protected Name resolvedName;
  72     /**
  73       * Contains the object to which resolution of the part of the name was
  74       * successful. Can be null.
  75       * This field is initialized by the constructors.
  76       * You should access and manipulate this field
  77       * through its get and set methods.
  78       * @serial
  79       * @see #getResolvedObj
  80       * @see #setResolvedObj
  81       */

  82     protected Object resolvedObj;
  83     /**
  84      * Contains the remaining name that has not been resolved yet.
  85      * It is a composite name and can be null.
  86      * This field is initialized by the constructors.
  87      * You should access and manipulate this field
  88      * through its get, set, "append" methods.
  89      * @serial
  90      * @see #getRemainingName
  91      * @see #setRemainingName
  92      * @see #appendRemainingName
  93      * @see #appendRemainingComponent
  94      */
  95     protected Name remainingName;
  96 
  97     /**
  98      * Contains the original exception that caused this NamingException to
  99      * be thrown. This field is set if there is additional
 100      * information that could be obtained from the original
 101      * exception, or if the original exception could not be


   1 /*
   2  * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  62      * Contains the part of the name that has been successfully resolved.
  63      * It is a composite name and can be null.
  64      * This field is initialized by the constructors.
  65      * You should access and manipulate this field
  66      * through its get and set methods.
  67      * @serial
  68      * @see #getResolvedName
  69      * @see #setResolvedName
  70      */
  71     protected Name resolvedName;
  72     /**
  73       * Contains the object to which resolution of the part of the name was
  74       * successful. Can be null.
  75       * This field is initialized by the constructors.
  76       * You should access and manipulate this field
  77       * through its get and set methods.
  78       * @serial
  79       * @see #getResolvedObj
  80       * @see #setResolvedObj
  81       */
  82     @SuppressWarnings("serial") // Not statically typed as Serializable
  83     protected Object resolvedObj;
  84     /**
  85      * Contains the remaining name that has not been resolved yet.
  86      * It is a composite name and can be null.
  87      * This field is initialized by the constructors.
  88      * You should access and manipulate this field
  89      * through its get, set, "append" methods.
  90      * @serial
  91      * @see #getRemainingName
  92      * @see #setRemainingName
  93      * @see #appendRemainingName
  94      * @see #appendRemainingComponent
  95      */
  96     protected Name remainingName;
  97 
  98     /**
  99      * Contains the original exception that caused this NamingException to
 100      * be thrown. This field is set if there is additional
 101      * information that could be obtained from the original
 102      * exception, or if the original exception could not be


< prev index next >