Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2822

JBossMQ's TransactionRequest eats the underlying cause during unmarshalling

XMLWordPrintable

      org.jboss.mq.TransactionRequest is swallowing the real ClassNotFoundException.
      This is totally unnecessary since readExternal is allowed to throw ClassNotFoundException.

      public void readExternal(ObjectInput in) throws IOException
      {
      requestType = in.readByte();
      try

      { xid = in.readObject(); }

      catch (ClassNotFoundException e)

      { throw new IOException("Class not found for xid."); }

            adrian.brock Adrian Brock (Inactive)
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: