org.yawlfoundation.yawl.engine
Class YProblemEvent

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.YProblemEvent

public class YProblemEvent
extends Object

A problem event describes the nature of a runtime execution problem.

Author:
Lachlan Aldred Date: 15/10/2004 Time: 11:50:00

Field Summary
static int RuntimeError
           
static int RuntimeWarning
           
 
Constructor Summary
YProblemEvent(Object source, String message, int eventType)
           
 
Method Summary
 int getEventType()
          Gets the event type.
 String getMessage()
          Gets the message of the event, if any.
 Object getSource()
          Gets the source of the event.
 void logProblem(YPersistenceManager pmgr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RuntimeError

public static int RuntimeError

RuntimeWarning

public static int RuntimeWarning
Constructor Detail

YProblemEvent

public YProblemEvent(Object source,
                     String message,
                     int eventType)
Method Detail

getMessage

public String getMessage()
Gets the message of the event, if any.

Returns:
message

getSource

public Object getSource()
Gets the source of the event.

Returns:
event source object.

getEventType

public int getEventType()
Gets the event type.

Returns:
event ype.

logProblem

public void logProblem(YPersistenceManager pmgr)
                throws YPersistenceException
Throws:
YPersistenceException


Copyright © 2004-2012 The YAWL Foundation.