org.ow2.bonita.facade.exception
Class VariableNotFoundException

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

public class VariableNotFoundException
extends org.ow2.bonita.util.BonitaException

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras This exception is thrown by RuntimeReadOnlyAPI.getVariable(String, String) and RuntimeReadOnlyAPI.getVariable(String, String, String) when no variable with the given name exists. - When this exception is thrown by RuntimeReadOnlyAPI.getVariable(String, String, String), getActivityId() returns the activityId given to the method. - When this exception is thrown by RuntimeReadOnlyAPI.getVariable(String, String), getActivityId() returns null
See Also:
Serialized Form

Constructor Summary
VariableNotFoundException(java.lang.String instanceId, java.lang.String variableId)
           
VariableNotFoundException(java.lang.String instanceId, java.lang.String activityId, java.lang.String variableId)
           
 
Method Summary
 java.lang.String getActivityId()
           
 java.lang.String getInstanceId()
           
 java.lang.String getVariableId()
           
 
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

VariableNotFoundException

public VariableNotFoundException(java.lang.String instanceId,
                                 java.lang.String activityId,
                                 java.lang.String variableId)

VariableNotFoundException

public VariableNotFoundException(java.lang.String instanceId,
                                 java.lang.String variableId)
Method Detail

getActivityId

public java.lang.String getActivityId()

getInstanceId

public java.lang.String getInstanceId()

getVariableId

public java.lang.String getVariableId()