jms-spec
  1. jms-spec
  2. JMS_SPEC-3

Fix JavaDocs to reflect missing NumberFormatException from API methods

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      N/A

      Description

      ---------------------------
      NumberFormatException tests
      ---------------------------

      For javax.jms.MapMessage and javax.jms.StreamMessage the JavaDoc's need to be updated for the string to numeric conversions. The String to numeric conversions must throw a
      java.lang.NumberFormatException if the numerics valueOf() method does not accept the the String value as a valid representation.

      Tests for (NumberFormatException) which is not listed in JavaDoc for the getXXX() methods. Test in question is: MapMessageConversionQTestsInvFormatString. The
      (NumberFormatException) is mentioned in spec but missing in JavaDoc.

      The JavaDoc's for the following methods below of class javax.jms.MapMessage and class javax.jms.StreamMessage need to be modified to add the NumberFormatException.

      getBoolean, getByte, getShort, getInt, getLong, getFloat, getDouble, etc

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Nigel Deakin
            Reporter:
            alanf760
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: