コード例 #1
0
 public String getHTMLMessage() {
   return "<html>Error occured:<br>"
       + Tools.escapeXML(getMessage())
       + "<hr>"
       + Tools.escapeXML(getDetails())
       + "</html>";
 }
コード例 #2
0
 @Override
 public String getHTMLMessage() {
   // return "<html>Error in: <b>" + getOperator() + "</b><br>" + Tools.escapeXML(getMessage())
   // + "<hr>" + Tools.escapeXML(getDetails()) +
   // "</html>";
   return "<html>Error in: <b>"
       + getOperator()
       + "</b><br>"
       + Tools.escapeXML(getMessage())
       + "</html>";
 }