Forum Discussion

Adam_Zehavi's avatar
Adam_Zehavi
Occasional Contributor
14 years ago

How to raise an exception in C# script

How can I raise and throw an Exception in C# script...

Adam.
  • Adam_Zehavi's avatar
    Adam_Zehavi
    Occasional Contributor
    Thanks, but I was referring to something like:



    throw new Exception("Description");



    which I've learned is used like this:



    throw "Description";



    or at-least I can achieve my goal this way...