public void outputError(String error, int priority) {
   // updateErrorAndWarningCounters(priority);
   AntMessage message = createErrorMessage(MessageType.ERROR, priority, error);
   addMessage(
       MessageType.ERROR,
       priority,
       error,
       message.getFile(),
       message.getLine(),
       message.getColumn());
   WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
   wolf.queue(message.getFile());
 }
 public void outputException(String exception) {
   updateErrorAndWarningCounters(PRIORITY_ERR);
   AntMessage message = createErrorMessage(MessageType.ERROR, 0, exception);
   addCommand(new AddExceptionCommand(message));
   WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
   wolf.queue(message.getFile());
 }