org.ow2.cmi.reference
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.cmi.reference.ObjectNotFoundException
All Implemented Interfaces:
java.io.Serializable

public final class ObjectNotFoundException
extends java.lang.Exception

Exception thrown if an object doesn't belong to the cluster view.

Author:
The new CMI team
See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException(java.lang.String msg)
          Constructs a new runtime exception with the specified detail message.
ObjectNotFoundException(java.lang.String msg, java.lang.String objectName)
           
ObjectNotFoundException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new runtime exception with the specified detail message and cause.
ObjectNotFoundException(java.lang.String msg, java.lang.Throwable cause, java.lang.String objectName)
           
 
Method Summary
 java.lang.String getObjectName()
           
 void setObjectName(java.lang.String objectName)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String msg)
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String msg,
                               java.lang.Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

Parameters:
msg - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String msg,
                               java.lang.String objectName)

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String msg,
                               java.lang.Throwable cause,
                               java.lang.String objectName)
Method Detail

getObjectName

public java.lang.String getObjectName()

setObjectName

public void setObjectName(java.lang.String objectName)


Copyright © 2009 OW2 Consortium. All Rights Reserved.