code: public String asText(ResourceBundle rb)
     {
        StringBuilder sb = new StringBuilder();
  
        sb = sb.append(rb.getString("severity"));
        sb = sb.append(": ");
        if (severity == Severity.WARNING)
        {
           sb = sb.append(rb.getString("severity.warn"));
        }
        else
        {
           sb = sb.append(rb.getString("severity.error"));
        }
        sb = sb.append(NEW_LINE);
  
        sb = sb.append(rb.getString("section"));
        sb = sb.append(": ");
        sb = sb.append(section);
        sb = sb.append(NEW_LINE);
  
        sb = sb.append(rb.getString("description"));
        sb = sb.append(": ");
        sb = sb.append(description);
        sb = sb.append(NEW_LINE);
  
        if (code != null)
        {
           sb = sb.append(rb.getString("code"));
           sb = sb.append(": ");
           sb = sb.append(code);
           sb = sb.append(NEW_LINE);
        }
  
        return sb.toString();
     }
docs: As text
  @param rb The resource bundle
  @return The text representation