mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
better diagnostics
This commit is contained in:
+2
-1
@@ -52,7 +52,8 @@ public class EvaluateExceptionUtil {
|
||||
|
||||
private static String reason(Throwable th) {
|
||||
if(th instanceof InvalidTypeException) {
|
||||
return DebuggerBundle.message("evaluation.error.type.mismatch");
|
||||
final String originalReason = th.getMessage();
|
||||
return DebuggerBundle.message("evaluation.error.type.mismatch") + (originalReason != null? " " + originalReason : "");
|
||||
}
|
||||
else if(th instanceof AbsentInformationException) {
|
||||
return DebuggerBundle.message("evaluation.error.debug.info.unavailable");
|
||||
|
||||
Reference in New Issue
Block a user