This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hey all,

I have caught a GIOP stream by wireshark, which should contain my user custom exception propagation data between :

my server(jboss iiop/jacorb) and my client(simple test to get threw exception from deploy jar on server)

In my threw exception, I defined a variable "i", and want to check that variable value in my GIOP stream(because when I read back that value from client side, it's wrong).

But from the view of my sub-data, I can only see part of my exception stream data, like my exception "class name" and "error message" when I created it, by my variable value is still encoded, so I assume that the default dissector can only decode the data of an JAVA Exception type, but not other data of a custom exception.

Does anyone have the same experience and know what should I do with wireshark to make my defined variable i visible and readable?

this is my exception looks like in java:

public class NegativeArgumentException extends Exception
{
   int i;

   public NegativeArgumentException(int i) 
   {
      super("Negative argument: " + i);
      this.i = i;
   }

   public int getNegativeArgument() 
   {
      return i;
   }
}

asked 28 Sep '12, 19:15

soul2zimate's gravatar image

soul2zimate
1112
accept rate: 0%

edited 28 Sep '12, 23:30

grahamb's gravatar image

grahamb ♦
19.8k330206

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×89
×7
×7

question asked: 28 Sep '12, 19:15

question was seen: 2,235 times

last updated: 28 Sep '12, 23:30

p​o​w​e​r​e​d by O​S​Q​A