Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-933

Use i18n for end-user information of a thrown exception + convert technical exception message into end-user information

XMLWordPrintable

      Exception messages (for both server and client) should be translated. Exceptions thrown from the server should not have a message, but rather an identifier that maps it to a i18n item and the values of variables. Additionally:

      • The exception message should be a sentence, so it should end with punctuation (normally a ".", avoid the use of "!").
      • Mention as many variable as possible+relevant and mention them with this pattern: "variableName (" + variable + ")".

            cchianel Christopher Chianelli
            cchianel Christopher Chianelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: