/** Annotate & notify the exception. */ private static void notifyNewSAXParserEx(Exception ex) { ErrorManager emgr = ErrorManager.getDefault(); emgr.annotate( ex, "Can not create a SAX parser!\nCheck javax.xml.parsers.SAXParserFactory property features and the parser library presence on classpath."); // NOI18N emgr.notify(ex); }
/** Annotate & notify the error. */ private static void notifyFactoryErr(Error err, String property) { ErrorManager emgr = ErrorManager.getDefault(); emgr.annotate( err, "Can not create a factory!\nCheck " + property + " property and the factory library presence on classpath."); // NOI18N emgr.notify(err); }
/** Annotate & notify the error. */ private static void notifyException(Throwable err) { ErrorManager emgr = ErrorManager.getDefault(); emgr.notify(emgr.INFORMATIONAL, err); }