From 16155c625a7e5556a8f2a7982646ac4f29a294ea Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 28 Apr 1999 16:26:31 +0000 Subject: [PATCH] printType for catch types git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@694 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/flow/CatchBlock.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jode/jode/flow/CatchBlock.java b/jode/jode/flow/CatchBlock.java index 32a7d24..bff90be 100644 --- a/jode/jode/flow/CatchBlock.java +++ b/jode/jode/flow/CatchBlock.java @@ -113,8 +113,9 @@ public class CatchBlock extends StructuredBlock { public void dumpInstruction(jode.decompiler.TabbedPrintWriter writer) throws java.io.IOException { writer.closeBraceContinue(); - writer.print("catch ("+exceptionType.toString() + " " - + exceptionLocal.getName().toString()+ ")"); + writer.print("catch ("); + writer.printType(exceptionType); + writer.print(" " + exceptionLocal.getName() + ")"); writer.openBrace(); writer.tab(); catchBlock.dumpSource(writer);