org.ow2.bonita.facade.exception
Class UncancellableInstanceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.bonita.util.BonitaException
              extended by org.ow2.bonita.facade.exception.UncancellableInstanceException
All Implemented Interfaces:
java.io.Serializable

public class UncancellableInstanceException
extends BonitaException

Thrown by some methods of ManagementAPI and RuntimeAPI when an instance cannot be cancelled
(for instance: case the instance has a parent instance or the instance has not been found).

See Also:
Serialized Form

Constructor Summary
UncancellableInstanceException(java.lang.String id, ProcessInstanceUUID processInstanceUUID, ProcessInstanceUUID parentInstanceUUID, InstanceState processInstanceState)
           
 
Method Summary
 ProcessInstanceUUID getParentInstanceUUID()
           
 InstanceState getProcessInstanceState()
           
 ProcessInstanceUUID getProcessInstanceUUID()
           
 
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

UncancellableInstanceException

public UncancellableInstanceException(java.lang.String id,
                                      ProcessInstanceUUID processInstanceUUID,
                                      ProcessInstanceUUID parentInstanceUUID,
                                      InstanceState processInstanceState)
Method Detail

getProcessInstanceUUID

public ProcessInstanceUUID getProcessInstanceUUID()

getParentInstanceUUID

public ProcessInstanceUUID getParentInstanceUUID()

getProcessInstanceState

public InstanceState getProcessInstanceState()


Copyright © 2009 OW2 Consortium. All Rights Reserved.