// check the prop each time this happens (should NEVER happen!)
exitOnError = Boolean.valueOf(FrameworkProperties.getProperty(EclipseErrorHandler.PROP_EXITONERROR, "true")).booleanValue(); //$NON-NLS-1$
String message = EclipseAdaptorMsg.ECLIPSE_ADAPTOR_RUNTIME_ERROR;
if (exitOnError && isFatalException(error))
message += ' ' + EclipseAdaptorMsg.ECLIPSE_ADAPTOR_EXITING;
FrameworkLogEntry logEntry = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, FrameworkLogEntry.ERROR, 0, message, 0, error, null);
adaptor.getFrameworkLog().log(logEntry);
} catch (Throwable t) {
// we may be in a currupted state and must be able to handle any
// errors (ie OutOfMemoryError)
// that may occur when handling the first error; this is REALLY the