File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
heapdump/src/org/graalvm/visualvm/heapdump/impl
jmx/src/org/graalvm/visualvm/jmx/impl
threaddump/src/org/graalvm/visualvm/threaddump/impl Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ public void run() {
149
149
contentsPanel .revalidate ();
150
150
contentsPanel .repaint ();
151
151
} });
152
- LOGGER .throwing (HeapDumpView .class .getName (), "loadHeap" , ex ); // NOI18N
153
152
LOGGER .log (Level .INFO , "Failed to load heap dump" , ex ); // NOI18N
154
153
}
155
154
}
Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ public void propertyChange(PropertyChangeEvent evt) {
193
193
194
194
}
195
195
} catch (Exception e ) {
196
- LOGGER .throwing (JmxModelImpl .class .getName (), "<init>" , e ); // NOI18N
196
+ // LOGGER.throwing(JmxModelImpl.class.getName(), "<init>", e); // NOI18N
197
+ LOGGER .log (Level .INFO , "Failed to create JmxModelImpl" , e ); // NOI18N
197
198
client = null ;
198
199
}
199
200
}
@@ -224,7 +225,8 @@ public void propertyChange(PropertyChangeEvent evt) {
224
225
application .addPropertyChangeListener (Stateful .PROPERTY_STATE , availabilityListener );
225
226
}
226
227
} catch (Exception e ) {
227
- LOGGER .throwing (JmxModelImpl .class .getName (), "<init>" , e ); // NOI18N
228
+ // LOGGER.throwing(JmxModelImpl.class.getName(), "<init>", e); // NOI18N
229
+ LOGGER .log (Level .INFO , "Failed to create JmxModelImpl" , e ); // NOI18N
228
230
client = null ;
229
231
}
230
232
}
Original file line number Diff line number Diff line change 37
37
import java .io .FileNotFoundException ;
38
38
import java .io .IOException ;
39
39
import java .io .InputStream ;
40
+ import java .util .logging .Level ;
40
41
import java .util .logging .Logger ;
41
42
import javax .swing .BorderFactory ;
42
43
import javax .swing .JLabel ;
@@ -144,7 +145,7 @@ public void run() {
144
145
try {
145
146
is .read (data );
146
147
} catch (IOException ex ) {
147
- LOGGER .throwing ( ThreadDumpView . class . getName () , "loadThreadDump " , ex ); // NOI18N
148
+ LOGGER .log ( Level . INFO , "Failed to read thread dump " , ex ); // NOI18N
148
149
}
149
150
try {
150
151
HTMLTextArea area = new HTMLTextArea ();
@@ -163,7 +164,7 @@ public void run() {
163
164
LOGGER .throwing (ThreadDumpView .class .getName (), "loadThreadDump" , ex ); // NOI18N
164
165
}
165
166
} catch (FileNotFoundException ex ) {
166
- LOGGER .throwing ( ThreadDumpView . class . getName () , "loadThreadDump " , ex ); // NOI18N
167
+ LOGGER .log ( Level . INFO , "Failed to load thread dump " , ex ); // NOI18N
167
168
} finally {
168
169
if (is != null ) {
169
170
try {
You can’t perform that action at this time.
0 commit comments