+/* Copyright (C) 2001, HELM Team
+ *
+ * This file is part of UWOBO, developed at the Computer Science
+ * Department, University of Bologna, Italy.
+ *
+ * UWOBO is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * UWOBO is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with UWOBO; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ *
+ * For details, see the UWOBO World-Wide-Web page,
+ * http://cs.unibo.it/helm/uwobo
+ */
+
package it.unibo.cs.helm.uwobo;
import java.io.*;
}
String local = e.getLocalizedMessage();
local = local.substring(local.lastIndexOf(':')+1);
- return "<b>"+message+": "+local+"</b><br />";
+ return "<b style=\"color: red\">"+message+": "+local+"</b><br />";
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
if(!log.equals(""))
out.println(msg_out(log));
} catch (TransformerConfigurationException tce) {
- out.println(exc_out("stylesheet error", tce));
+ out.println(exc_out("Stylesheet Error", tce));
} catch (Exception e) {
out.println(exc_out(null, e));
}
out.println(msg_out(server.reload(data[i])));
}
} catch (TransformerConfigurationException tce) {
- out.println(exc_out("stylesheet error", tce));
+ out.println(exc_out("Stylesheet Error", tce));
} catch (Exception e) {
out.println(exc_out(null, e));
}