/** * Similar to {@link #getMessage()}, but it doesn't contain the position of the failing instruction at then end * of the text. It might contains the position of the failing <em>expression</em> though as part of the expression * quotation, as that's the part of the description. */ public String getMessageWithoutStackTop() { synchronized (lock) { if (messageWithoutStackTop == null) renderMessages(); return messageWithoutStackTop; } }
@Override public String getMessage() { if (messageWasAlreadyPrintedForThisTrace != null && messageWasAlreadyPrintedForThisTrace.get() == Boolean.TRUE) { return "[... Exception message was already printed; see it above ...]"; } else { synchronized (lock) { if (message == null) renderMessages(); return message; } } }
/** * Similar to {@link #getMessage()}, but it doesn't contain the position of the failing instruction at then end * of the text. It might contains the position of the failing <em>expression</em> though as part of the expression * quotation, as that's the part of the description. */ public String getMessageWithoutStackTop() { synchronized (lock) { if (messageWithoutStackTop == null) renderMessages(); return messageWithoutStackTop; } }
/** * Similar to {@link #getMessage()}, but it doesn't contain the position of the failing instruction at then end * of the text. It might contains the position of the failing <em>expression</em> though as part of the expression * quotation, as that's the part of the description. */ public String getMessageWithoutStackTop() { synchronized (lock) { if (messageWithoutStackTop == null) renderMessages(); return messageWithoutStackTop; } }
@Override public String getMessage() { if (messageWasAlreadyPrintedForThisTrace != null && messageWasAlreadyPrintedForThisTrace.get() == Boolean.TRUE) { return "[... Exception message was already printed; see it above ...]"; } else { synchronized (lock) { if (message == null) renderMessages(); return message; } } }
@Override public String getMessage() { if (messageWasAlreadyPrintedForThisTrace != null && messageWasAlreadyPrintedForThisTrace.get() == Boolean.TRUE) { return "[... Exception message was already printed; see it above ...]"; } else { synchronized (lock) { if (message == null) renderMessages(); return message; } } }