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 org.ow2.bonita.util.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(org.ow2.bonita.facade.uuid.ProcessInstanceUUID processInstanceUUID, org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID, org.ow2.bonita.facade.runtime.InstanceState processInstanceState)
           
 
Method Summary
 org.ow2.bonita.facade.uuid.ProcessInstanceUUID getParentInstanceUUID()
           
 org.ow2.bonita.facade.runtime.InstanceState getProcessInstanceState()
           
 org.ow2.bonita.facade.uuid.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(org.ow2.bonita.facade.uuid.ProcessInstanceUUID processInstanceUUID,
                                      org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID,
                                      org.ow2.bonita.facade.runtime.InstanceState processInstanceState)
Method Detail

getProcessInstanceUUID

public org.ow2.bonita.facade.uuid.ProcessInstanceUUID getProcessInstanceUUID()

getParentInstanceUUID

public org.ow2.bonita.facade.uuid.ProcessInstanceUUID getParentInstanceUUID()

getProcessInstanceState

public org.ow2.bonita.facade.runtime.InstanceState getProcessInstanceState()


Copyright © 2009 OW2 Consortium. All Rights Reserved.