Skip to content

Commit e6e2715

Browse files
committed
Remove dead code
1 parent a58243e commit e6e2715

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/main/java/tools/jackson/core/JacksonException.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -322,22 +322,13 @@ public static JacksonException wrapWithPath(Throwable src, Reference ref,
322322
if (msg == null || msg.isEmpty()) {
323323
msg = "(was "+src.getClass().getName()+")";
324324
}
325-
// 17-Aug-2015, tatu: Let's also pass the processor (parser/generator) along
326-
Closeable proc = null;
327-
if (src instanceof JacksonException) {
328-
Object proc0 = ((JacksonException) src).processor();
329-
if (proc0 instanceof Closeable) {
330-
proc = (Closeable) proc0;
331-
}
332-
}
333325
jme = ctor.apply(msg, src);
334-
jme._processor = proc;
335326
}
336327
jme.prependPath(ref);
337328
return jme;
338329
}
339330

340-
private static String _exceptionMessage(Throwable t) {
331+
public static String _exceptionMessage(Throwable t) {
341332
if (t instanceof JacksonException) {
342333
return ((JacksonException) t).getOriginalMessage();
343334
}

0 commit comments

Comments
 (0)