In addition to capturing an exception and logging it I am trying to get all the field and property names and values belonging to the class in which the exception was thrown. This data will then be logged and sent to me by my clients.
This information can be obtained within the catch block of the culprit method's try/catch using Reflection however how can I get the data specific to the class if the exception is not caught within that catch block.
I am catching all program wide exceptions at startup.
Aucun commentaire:
Enregistrer un commentaire