FileNet Content Services
Java Connector v3.0

com.filenet.wcm.api
Class BadReferenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.filenet.wcm.api.BaseRuntimeException
                  extended bycom.filenet.wcm.api.BadReferenceException
All Implemented Interfaces:
java.io.Serializable

public class BadReferenceException
extends BaseRuntimeException

This exception is thrown if an attempt is made to use an object instance of a CS Java Connector BaseObject class (or subclass) for which there is no corresponding Content Services object. A BaseObject object is a remote reference to a Content Services object.

This exception can result if the BaseObject object is improperly constructed via the ObjectFactory or if the corresponding Content Services object has been deleted. As an example, this exception is thrown if you call a versioning-related operation (checkout, checkin, or cancel checkout) on a Document object that does not exist.

See Also:
Serialized Form

Constructor Summary
BadReferenceException()
          Constructs a BadReferenceException.
BadReferenceException(java.lang.String s)
          Constructs a BadReferenceException containing the specified String.
 
Methods inherited from class com.filenet.wcm.api.BaseRuntimeException
getFaultCode, setFaultCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadReferenceException

public BadReferenceException()
Constructs a BadReferenceException.


BadReferenceException

public BadReferenceException(java.lang.String s)
Constructs a BadReferenceException containing the specified String.

Parameters:
s - A String that contains message text about the exception.

FileNet Content Services
Java Connector v3.0