AnsweredAssumed Answered

How to throw custome exception with customarize error messsage ie:"Can't create node here" .

Question asked by madhukar2505 on Jul 2, 2018
Latest reply on Jul 3, 2018 by eugenio_romano

I am creating a folder and renaming it by custom behavior, onCreateNode policy.


Now I need to throw exception ie

thow new CustomException("Can not create node here");

Please let me know how to implement it.