org.ow2.bonita.facade.exception
Class InstanceNotFoundException

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.InstanceNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class InstanceNotFoundException
extends BonitaException

Thrown by some methods of the QueryRuntimeAPI and the RuntimeAPI if recorded runtime information for the instance has not been found.

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Constructor Summary
InstanceNotFoundException(InstanceNotFoundException e)
           
InstanceNotFoundException(java.lang.String id, ProcessInstanceUUID instanceUUID)
           
 
Method Summary
static InstanceNotFoundException build(java.lang.String id, java.lang.Throwable e)
           
 ProcessInstanceUUID getInstanceUUID()
           
 
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

InstanceNotFoundException

public InstanceNotFoundException(java.lang.String id,
                                 ProcessInstanceUUID instanceUUID)

InstanceNotFoundException

public InstanceNotFoundException(InstanceNotFoundException e)
Method Detail

build

public static InstanceNotFoundException build(java.lang.String id,
                                              java.lang.Throwable e)

getInstanceUUID

public ProcessInstanceUUID getInstanceUUID()


Copyright © 2009 OW2 Consortium. All Rights Reserved.