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

how to decode an user custom exception from GIOP stream?

0

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