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());
 }
 public void outputMessage(final String text, final int priority) {
   final AntMessage customizedMessage = getCustomizedMessage(text, priority);
   final AntMessage message =
       customizedMessage != null
           ? customizedMessage
           : new AntMessage(MessageType.MESSAGE, priority, text, null, 0, 0);
   updateErrorAndWarningCounters(message.getPriority());
   addCommand(new AddMessageCommand(message));
 }
 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());
 }
 AddJavacMessageCommand(AntMessage antMessage, String url) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
   myUrl = url;
 }
 AddExceptionCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }
 AddMessageCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }