This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 29167
Collapse All | Expand All

(-)src/org/netbeans/lib/jmi/util/Logger.java (+7 lines)
Lines 188-193 Link Here
188
        }
188
        }
189
    }
189
    }
190
    
190
    
191
    public boolean isLoggable(int severity) {
192
        return severity >= minLogSeverity;
193
    }
194
    
191
   /** Prints the exception to the log file together with its annotations recursively
195
   /** Prints the exception to the log file together with its annotations recursively
192
     * @param severity the severity to be applied to the exception (overrides default), e.g. {@link #EXCEPTION}
196
     * @param severity the severity to be applied to the exception (overrides default), e.g. {@link #EXCEPTION}
193
     * @param t the exception to notify
197
     * @param t the exception to notify
Lines 198-203 Link Here
198
    }
202
    }
199
    
203
    
200
    private void notify(int severity, Throwable t, Set visited) {
204
    private void notify(int severity, Throwable t, Set visited) {
205
        if (!isNotifiable(severity))
206
            return;
207
        
201
        if (!visited.add(t)) return;
208
        if (!visited.add(t)) return;
202
        Annotation[] ann = findAnnotations(t);
209
        Annotation[] ann = findAnnotations(t);
203
210

Return to bug 29167