org.apache.beehive.netui.tags.databinding.invoke
Class ObjectNotFoundException

Object
  extended by Throwable
      extended by Exception
          extended by ObjectNotFoundException
All Implemented Interfaces:
Serializable

public class ObjectNotFoundException
extends Exception

An exception thrown when an object on which to invoke a method can not be found. The CallMethod.resolveObject() call throws this exception.

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
          Construct an ObjectNotFoundException.
ObjectNotFoundException(String message)
          Construct an ObjectNotFoundException with the given message.
ObjectNotFoundException(String message, Throwable cause)
          Construct an ObjectNotFoundException with the given message and cause.
ObjectNotFoundException(String message, Throwable cause, String objectName)
          Construct an ObjectNotFoundException with the given message, cause, and objectName.
ObjectNotFoundException(Throwable cause)
          Construct an ObjectNotFoundException with the given cause
 
Method Summary
 String getObjectName()
          Get the name of the object whose lookup failed.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException()
Construct an ObjectNotFoundException.


ObjectNotFoundException

public ObjectNotFoundException(String message)
Construct an ObjectNotFoundException with the given message.

Parameters:
message - a String containing the text of the exception message

ObjectNotFoundException

public ObjectNotFoundException(Throwable cause)
Construct an ObjectNotFoundException with the given cause

Parameters:
cause - a Throwable that interfered with the normal lookup of an object.

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               Throwable cause)
Construct an ObjectNotFoundException with the given message and cause.

Parameters:
message - a String containing the text of the exception message
cause - a Throwable that interfered with the normal lookup of an object.

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               Throwable cause,
                               String objectName)
Construct an ObjectNotFoundException with the given message, cause, and objectName.

Parameters:
message - a String containing the text of the exception message
cause - a Throwable that interfered with the normal lookup of an object.
objectName - the identifier of the object which could not be looked-up.
Method Detail

getObjectName

public String getObjectName()
Get the name of the object whose lookup failed.

Returns:
the String name