Reading and parsing Java exceptions
I have a small system, and I wan't to offer a product that can analyze errors / exceptions and suggest a possible solution.

So I want a way to parse a java Exception (since I have them only in logs [I don't want to affect the actual system]).

After parsing it, I want to save it in a DB and compare it to previously saved exceptions (in some format), so that I can find the closest matching exception.

I thought about the following idea:
"XException at A at B at C at D" will be saved as [XException, A, B, C, D] and I will be somehow searching in my DB: [XException, ?, ?, ?] which is the closest. For example: [XException, A, G, C, D] is quite good.


What do you think of these ideas?

Any effiecient way to parse Exceptions?

Efficient or better ways to define distance between two Exceptions?

Know any open sources that can do this - I saure haven't found any.

Thank you.
Reading and parsing Java exceptions
===

I have a small system, and I wan't to offer a product that can analyze errors / exceptions and suggest a possible solution.

So I want a way to parse a java Exception (since I have them only in logs [I don't want to affect the actual system]).

After parsing it, I want to save it in a DB and compare it to previously saved exceptions (in some format), so that I can find the closest matching exception.

I thought about the following idea:
"XException at A at B at C at D" will be saved as [XException, A, B, C, D] and I will be somehow searching in my DB: [XException, ?, ?, ?] which is the closest. For example: [XException, A, G, C, D] is quite good.


What do you think of these ideas?

Any effiecient way to parse Exceptions?

Efficient or better ways to define distance between two Exceptions?

Know any open sources that can do this - I saure haven't found any.

Thank you.