syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrea-patricelli <...@git.apache.org>
Subject [GitHub] syncope pull request #81: [Syncope 1220] Support Groovy implementations in t...
Date Tue, 14 Aug 2018 09:57:44 GMT
Github user andrea-patricelli commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/81#discussion_r209894309
  
    --- Diff: ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
---
    @@ -410,7 +500,14 @@ public void actionPerformed(final ActionEvent e) {
                                     null, "Error while creating new element", "Error", JOptionPane.ERROR_MESSAGE);
                         }
                     }
    +            } catch (SyncopeClientException excp) {
    +                JOptionPane.showMessageDialog(null, excp.getMessage(), "Syncope Error",
JOptionPane.ERROR_MESSAGE);
    +            } catch (IOException | NullPointerException ex) {
    --- End diff --
    
    Do not catch NullPointerException, avoid it in the code.


---

Mime
View raw message