public class BaseScriptingNotifycation extends Object implements ScriptingNotification
Modifier and Type | Field and Description |
---|---|
static int |
COMPILE_ERROR_NOTIFICATION |
static int |
RUNTIME_ERROR_NOTIFICATION |
Constructor and Description |
---|
BaseScriptingNotifycation(ScriptingUnit unit,
int type,
String id,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Gets the cause of the ScriptingNotification
|
String |
getId()
Gets the ScriptingNotification's id
|
int |
getType()
Gets the type of ScriptingNotification
|
ScriptingUnit |
getUnit()
Get the
ScriptingUnit which send the notification |
public static final int RUNTIME_ERROR_NOTIFICATION
public static final int COMPILE_ERROR_NOTIFICATION
public BaseScriptingNotifycation(ScriptingUnit unit, int type, String id, Exception ex)
public Exception getException()
ScriptingNotification
getException
in interface ScriptingNotification
public String getId()
ScriptingNotification
getId
in interface ScriptingNotification
public ScriptingUnit getUnit()
ScriptingNotification
ScriptingUnit
which send the notificationgetUnit
in interface ScriptingNotification
public int getType()
ScriptingNotification
getType
in interface ScriptingNotification