Modify message of existing Exception

Hi, how do I modify the message of an existing exception, storing it back inside the original exception? So the message looks like this: “Name not found or wrong spelling (original exception message)”

@DEATHFISH

Are you storing exceptions in any file and there you want to change it or what ?

@lakshman

The exception is stored as a variable generated in try catch block, objective is to change the message within this variable

@DEATHFISH,

May be I am mismatching your thoughts on this question, but you can simply use Assign activity to have any value in a variable.

If this is not the case, please explain your requirements with an example.