Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.util

Class MissingResourceException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.util.MissingResourceException


public class MissingResourceException

extends RuntimeException

This exception is thrown when a resource is missing.

Since:Authors:See Also:

Constructor Summary

MissingResourceException(java.lang.String s, java.lang.String className, java.lang.String key)

Creates a new exception, with the specified parameters.

Method Summary

java.lang.StringgetClassName()

Gets the name of the resource bundle, for which a resource is missing.
java.lang.StringgetKey()

Gets the key of the resource that is missing bundle, this is an empty string if the whole resource bundle is missing.

Constructor Details

MissingResourceException

public MissingResourceException(java.lang.String s, java.lang.String className, java.lang.String key)

Creates a new exception, with the specified parameters.

Parameters:


Method Details

getClassName

public String getClassName()

Gets the name of the resource bundle, for which a resource is missing.

Returns:


getKey

public String getKey()

Gets the key of the resource that is missing bundle, this is an empty string if the whole resource bundle is missing.

Returns: