bexee.core
Class AwaitMessageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bybexee.core.AwaitMessageException
All Implemented Interfaces:
java.io.Serializable

public class AwaitMessageException
extends java.lang.Exception

While the Process Controller is executing a process, it will necessarily arrive at a Receive activity without the message for the receive, there the process execution must stop and wait for a right message to resume execution. In order to suspend process execution and to enter the state of awaiting a message, this execption will be used.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
Author:
Patric Fornasier, Pawel Kowalski
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
AwaitMessageException(Receive receive)
          Create an AwaitMessageException with the correspondent receive, where it stopped.
 
Method Summary
 Receive getReceive()
          Get the Receive activity where this exception occured.
 
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

AwaitMessageException

public AwaitMessageException(Receive receive)
Create an AwaitMessageException with the correspondent receive, where it stopped.

Parameters:
receive - The Receive activity where this exception occured
Method Detail

getReceive

public Receive getReceive()
Get the Receive activity where this exception occured.

Returns:


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.