Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.util
Class MissingResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.adfnmc.java.util.MissingResourceException

public class MissingResourceException
extends java.lang.RuntimeException

This runtime exception is thrown by ResourceBundle when a resouce bundle cannot be found or a resource is missing from a resource bundle.

See Also:
ResourceBundle

Constructor Summary
MissingResourceException(java.lang.String detailMessage, java.lang.String className, java.lang.String resourceName)
          Constructs a new instance of this class with its walkback, message, the class name of the resource bundle and the name of the missing resource.
 
Method Summary
 java.lang.String getClassName()
          Answers the class name of the resource bundle from which a resource could not be found, or in the case of a missing resource, the name of the missing resource bundle.
 java.lang.String getKey()
          Answers the name of the missing resource, or an empty string if the resource bundle is missing.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingResourceException

public MissingResourceException(java.lang.String detailMessage,
                                java.lang.String className,
                                java.lang.String resourceName)
Constructs a new instance of this class with its walkback, message, the class name of the resource bundle and the name of the missing resource.

Parameters:
detailMessage - String The detail message for the exception.
className - String The class name of the resource bundle.
resourceName - String The name of the missing resource.
Method Detail

getClassName

public java.lang.String getClassName()
Answers the class name of the resource bundle from which a resource could not be found, or in the case of a missing resource, the name of the missing resource bundle.

Returns:
String The class name of the resource bundle.

getKey

public java.lang.String getKey()
Answers the name of the missing resource, or an empty string if the resource bundle is missing.

Returns:
String The name of the missing resource.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.