public class YProblemEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
RuntimeError |
static int |
RuntimeWarning |
Constructor and Description |
---|
YProblemEvent(java.lang.Object source,
java.lang.String message,
int eventType) |
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Gets the event type.
|
java.lang.String |
getMessage()
Gets the message of the event, if any.
|
java.lang.Object |
getSource()
Gets the source of the event.
|
void |
logProblem(YPersistenceManager pmgr) |
public static int RuntimeError
public static int RuntimeWarning
public YProblemEvent(java.lang.Object source, java.lang.String message, int eventType)
public java.lang.String getMessage()
public java.lang.Object getSource()
public int getEventType()
public void logProblem(YPersistenceManager pmgr) throws YPersistenceException
YPersistenceException
Copyright © 2004-2014 The YAWL Foundation.