Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5033318

Typo in exception message

XMLWordPrintable

    • b51
    • sparc
    • solaris_8

      ******************************************************************************
      ###@###.### 2004-04-16

      sjsas 8.1 build tested: j2eesdk-1_4-beta-bin-b07-solaris-sparc-14_apr_2004.bin

      Description: There is an extra "part" word in the following exception message,
                   which made it hard to understand.

      javax.management.MalformedObjectNameException: Invalid character '*' in key part part of property

      The above exception was caught with the following code.

        ..
        ObjectName name = null;
        ...
        try {
            name = new ObjectName("*:j2eeType=Servlet, *");
        } catch (Exception e) {
            System.out.println(e);
        }
      ******************************************************************************

            emcmanus Eamonn McManus
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: