Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to throw Invalidinputexception during issue create

Vineela Durbha
Contributor
February 11, 2019

I am trying to throw a exception as below 

throw new InvalidInputException("Erroeeee");

but it is giving me error 

[InvalidInputException: [Error map: [{}]] [Error list: [[Erroeeee]]]

 

How to throw this exception , Am I missing something?

1 answer

0 votes
David Fischer
Community Champion
February 13, 2019

Hi Vineela,

where are you using this code? In a JMWE post-function? Can you share a screenshot of the configuration?

Suggest an answer

Log in or Sign up to answer