cancel
Showing results for 
Search instead for 
Did you mean: 

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

madhukar2505
Champ in-the-making
Champ in-the-making

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.

3 REPLIES 3

eugenio_romano
Elite Collaborator
Elite Collaborator

Is that question related to ADF?

madhukar2505
Champ in-the-making
Champ in-the-making

yes

eugenio_romano
Elite Collaborator
Elite Collaborator

Maybe share a piece of your code could help