Class ResourcesKeyException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.resources.ResourcesException
                  extended by org.apache.commons.resources.ResourcesKeyException
All Implemented Interfaces:

public class ResourcesKeyException
extends ResourcesException

Specialized subclass of ResourcesException that is thrown by a resource getter method of a Resources instance, if an invalid key value is specified and the returnNull property is false.

See Also:
Serialized Form

Constructor Summary
ResourcesKeyException(String key)
          Construct an exception instance documenting that the specified key value was invalid.
Method Summary
Methods inherited from class org.apache.commons.resources.ResourcesException
getMessage, getRootCause
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ResourcesKeyException(String key)

Construct an exception instance documenting that the specified key value was invalid.

key - The invalid key value

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.