ObjectNotFoundException Class
- 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.
-
Hierarchy
-
Object
Throwable
Exception
ObjectNotFoundException
-
All Implemented Interfaces
-
Serializable
Methods from java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectNotFoundException
public ObjectNotFoundException()
- Construct an ObjectNotFoundException.
ObjectNotFoundException
public ObjectNotFoundException(String
message,
Throwable
cause,
String
objectName)
- Construct an ObjectNotFoundException with the given
message
, cause
, and objectName
.
ObjectNotFoundException
public ObjectNotFoundException(String
message,
Throwable
cause)
- Construct an ObjectNotFoundException with the given
message
and cause
.
ObjectNotFoundException
public ObjectNotFoundException(String
message)
- Construct an ObjectNotFoundException with the given message.
ObjectNotFoundException
public ObjectNotFoundException(Throwable
cause)
- Construct an ObjectNotFoundException with the given cause
getObjectName() Method
public String
getObjectName()
Get the name of the object whose lookup failed.
Returns
- the String name