public void handle(IDebugMessage message, PHPDebugTarget debugTarget) {
DebuggerErrorNotification parseError = (DebuggerErrorNotification) message;
IDebugHandler debugHandler = debugTarget.getRemoteDebugger()
.getDebugHandler();
int errorLevel = parseError.getErrorLevel();
DebugError debugError = new DebugError();
String errorText = parseError.getErrorText();
if (errorText != null && !errorText.equals("")) { //$NON-NLS-1$
debugError.setErrorText(errorText);
}
debugError.setCode(errorLevel);
debugHandler.debuggerErrorOccured(debugError);
}