title: Report parameter validation message with Birt
body: <p>I'm creating a BIRT report using certain parameters. I have an int parameter (Number of months) which values can be from 1 to 12. </p>
  
  <p>I need to check if the value is bigger than 12. In such case it should show me a customized message and not an error like it is doing right now.</p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>org.eclipse.birt.report.service.api.ReportServiceException: The validation for parameter "nummonths" fails.
  </code></pre>
  
  <p><strong>Current script:</strong></p>
  
  <pre><code>if (params["nummonths"].value &gt; 12 )
      {
      false;
      } 
  else
      {
      true;
      }
  </code></pre>
  
  <p>I create reports in BIRT to upload it to IBM Maximo Asset Management system. Maybe there is a different way to solve this in Maximo.</p>
  
  <p>Thanks for your time! Hopefully will help others.</p>