com.plumtree.remote.prc.collaboration
Class MultipleObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended bycom.plumtree.remote.prc.collaboration.CollaborationException
                      extended bycom.plumtree.remote.prc.collaboration.MultipleObjectException
All Implemented Interfaces:
java.io.Serializable

public class MultipleObjectException
extends CollaborationException

Thrown when multiple exceptions occur on the server during bulk operations.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
MultipleObjectException()
           
MultipleObjectException(java.lang.String message)
           
 
Method Summary
 void addException(int ID, java.lang.Exception e)
          Adds an child exception to this exception container.
 java.lang.Exception getCauseException(int ID)
          Retrieves a specific exception for a given object ID.
 int[] getIds()
          An array of object IDs for which exceptions occurred.
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleObjectException

public MultipleObjectException(java.lang.String message)

MultipleObjectException

public MultipleObjectException()
Method Detail

addException

public void addException(int ID,
                         java.lang.Exception e)
Adds an child exception to this exception container. This should not be used.

Parameters:
ID - the ID of the object causing the exception
e - the exception caused

getIds

public int[] getIds()
An array of object IDs for which exceptions occurred.

Returns:
the IDs

getCauseException

public java.lang.Exception getCauseException(int ID)
Retrieves a specific exception for a given object ID.

Parameters:
ID - the ID of the object for which the exception occurred
Returns:
an Exception pertaining to the supplied object ID


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.