[JIRA] (JENKINS-45469) Missing Pipeline DSL step exception is not caught by try-catch

2018-10-24 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-45469  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Missing Pipeline DSL step exception is not caught by try-catch   
 

  
 
 
 
 

 
 Better to catch NoSuchMethodError specifically, so you do not accidentally ignore unrelated problems.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-45469) Missing Pipeline DSL step exception is not caught by try-catch

2018-10-22 Thread trane9...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Taras Postument commented on  JENKINS-45469  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Missing Pipeline DSL step exception is not caught by try-catch   
 

  
 
 
 
 

 
 Catching Throwable works fine: 

 

catch(Throwable t) {
throw e
}
 

   https://stackoverflow.com/questions/38283476/java-nosuchmethoderror-not-caught-by-exception  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-45469) Missing Pipeline DSL step exception is not caught by try-catch

2018-10-22 Thread trane9...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Taras Postument updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-45469  
 
 
  Missing Pipeline DSL step exception is not caught by try-catch   
 

  
 
 
 
 

 
Change By: 
 Taras Postument  
 
 
Comment: 
 And there is nothing to be done?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-45469) Missing Pipeline DSL step exception is not caught by try-catch

2018-10-19 Thread trane9...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Taras Postument commented on  JENKINS-45469  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Missing Pipeline DSL step exception is not caught by try-catch   
 

  
 
 
 
 

 
 And there is nothing to be done?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.