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

thrown subclassed exceptions cause marshalling error

XMLWordPrintable

    • iiop_fcs
    • generic
    • solaris_2.6
    • Verified


      Given a remote interface method which throws a certain Exception, such as java.lang.Exception:

      public int throwAnException () throws RemoteException, Exception


      If the server implementation code throws a subclass of this Exception (such as CloneNotSupportedException), that exception does not get properly marshalled back to the client, instead a CORBA.UnknownException is received:



      java.rmi.RemoteException: CORBA UnknownException 0 Maybe; nested exception is:
              org.omg.CORBA.portable.UnknownException: minor code: 0 completed:Maybe






      brian.preston@eng 1999-05-26

            duke J. Duke
            bprestonsunw Brian Preston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: