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

request to have vendor minor code id displayed in SystemException.toString()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • other-libs
    • merlin
    • generic
    • generic



      Name: skT88420 Date: 09/22/99


      With the introduction of vendor minor code identifiers
      it would be useful to have org.omg.CORBA.SystemException's
      toString() method show the VMCID port of a minor code as
      a separate number. If the VMCID is zero, this can be
      left off.

      E.g.,

          public String toString() {
              String completedString;

              String superString = super.toString();
              //String minorString = " minor code: " + minor;
              int vmc = minor & 0xFFFE0000;
              int mc = minor & 0x1FFFF;
              String minorString = "";
              if (vmc > 0)
                  minorString = " vmcid: " + vmc;
              minorString = minorString + " minor code: " + mc;
      (Review ID: 95604)
      ======================================================================

            sbauersunw Stefan Bauer (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: