Better Decompiler API Usage
This commit is contained in:
parent
0db6dcbd27
commit
995c0ffede
|
@ -71,7 +71,7 @@ public class ASMDisassembler extends AbstractDecompiler
|
||||||
exception = ExceptionUtils.exceptionToString(e);
|
exception = ExceptionUtils.exceptionToString(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return "ASM Disassembler " + ERROR + "! " + ExceptionUI.SEND_STACKTRACE_TO + NL + NL
|
return getDecompilerName() + " " + ERROR + "! " + ExceptionUI.SEND_STACKTRACE_TO + NL + NL
|
||||||
+ TranslatedStrings.SUGGESTED_FIX_DECOMPILER_ERROR + NL + NL + exception;
|
+ TranslatedStrings.SUGGESTED_FIX_DECOMPILER_ERROR + NL + NL + exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class ASMifierGenerator extends AbstractDecompiler
|
||||||
exception = ExceptionUtils.exceptionToString(e);
|
exception = ExceptionUtils.exceptionToString(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return "ASMifier " + ERROR + "! " + ExceptionUI.SEND_STACKTRACE_TO + NL + NL
|
return getDecompilerName() + " " + ERROR + "! " + ExceptionUI.SEND_STACKTRACE_TO + NL + NL
|
||||||
+ TranslatedStrings.SUGGESTED_FIX_DECOMPILER_ERROR + NL + NL + exception;
|
+ TranslatedStrings.SUGGESTED_FIX_DECOMPILER_ERROR + NL + NL + exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user