How to throw Invalidinputexception during issue create

Vineela Durbha 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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