updating log messages
This commit is contained in:
parent
6d608df84c
commit
89c8a7fcb0
2 changed files with 2 additions and 3 deletions
|
@ -38,7 +38,7 @@ public class SimpleReasonerRecomputeController extends FreemarkerHttpServlet {
|
|||
if (!(simpleReasoner instanceof SimpleReasoner)) {
|
||||
messageStr = "No SimpleReasoner has been set up.";
|
||||
} else if ( ((SimpleReasoner)simpleReasoner).isABoxReasoningAsynchronous() ) {
|
||||
messageStr = "mostSpecificType annotations are currently being computed and so a recompute can not be started. Please try again later.";
|
||||
messageStr = "SimpleReasoner is currently in asynchronous mode so a recompute can not be started. Please try again later.";
|
||||
} else {
|
||||
String signal = (String) vreq.getParameter("signal");
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ public class SimpleReasoner extends StatementListener {
|
|||
*/
|
||||
} catch (Exception e) {
|
||||
// don't stop the edit if there's an exception
|
||||
log.error("Exception while adding inferences: " + e.getMessage());
|
||||
log.error("Exception while computing inferences: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,6 @@ public class SimpleReasoner extends StatementListener {
|
|||
removedABoxAssertion(stmt, inferenceModel);
|
||||
}
|
||||
*/
|
||||
|
||||
} catch (Exception e) {
|
||||
// don't stop the edit if there's an exception
|
||||
log.error("Exception while retracting inferences: " + e.getMessage());
|
||||
|
|
Loading…
Add table
Reference in a new issue