code: public void printWarning() {
      System.out.print("Warning: ");
      System.out.print(description);
      if (value != null)
        System.out.print(" (" + value + ")");
      System.out.println();
    }
docs: Prints the warning in the console.