< prev index next >

src/java.base/share/classes/java/util/MissingResourceException.java

Print this page




  91      * Gets parameter passed by constructor.
  92      *
  93      * @return the name of the resource class
  94      */
  95     public String getClassName() {
  96         return className;
  97     }
  98 
  99     /**
 100      * Gets parameter passed by constructor.
 101      *
 102      * @return the key for the missing resource
 103      */
 104     public String getKey() {
 105         return key;
 106     }
 107 
 108     //============ privates ============
 109 
 110     // serialization compatibility with JDK1.1

 111     private static final long serialVersionUID = -4876345176062000401L;
 112 
 113     /**
 114      * The class name of the resource bundle requested by the user.
 115      * @serial
 116      */
 117     private String className;
 118 
 119     /**
 120      * The name of the specific resource requested by the user.
 121      * @serial
 122      */
 123     private String key;
 124 }


  91      * Gets parameter passed by constructor.
  92      *
  93      * @return the name of the resource class
  94      */
  95     public String getClassName() {
  96         return className;
  97     }
  98 
  99     /**
 100      * Gets parameter passed by constructor.
 101      *
 102      * @return the key for the missing resource
 103      */
 104     public String getKey() {
 105         return key;
 106     }
 107 
 108     //============ privates ============
 109 
 110     // serialization compatibility with JDK1.1
 111     @java.io.Serial
 112     private static final long serialVersionUID = -4876345176062000401L;
 113 
 114     /**
 115      * The class name of the resource bundle requested by the user.
 116      * @serial
 117      */
 118     private String className;
 119 
 120     /**
 121      * The name of the specific resource requested by the user.
 122      * @serial
 123      */
 124     private String key;
 125 }
< prev index next >