@@ -255,7 +255,7 @@ public ThrowableProxy getCauseProxy() {
255255 * @param suffix Append this to the end of each stack frame.
256256 */
257257 public String getCauseStackTraceAsString (final String suffix ) {
258- return this .getCauseStackTraceAsString (null , PlainTextRenderer .getInstance (), suffix , EOL_STR , null );
258+ return this .getCauseStackTraceAsString (null , PlainTextRenderer .getInstance (), suffix , EOL_STR );
259259 }
260260
261261 /**
@@ -266,7 +266,7 @@ public String getCauseStackTraceAsString(final String suffix) {
266266 * @return The formatted Throwable that caused this Throwable.
267267 */
268268 public String getCauseStackTraceAsString (final List <String > packages , final String suffix ) {
269- return getCauseStackTraceAsString (packages , PlainTextRenderer .getInstance (), suffix , EOL_STR , null );
269+ return getCauseStackTraceAsString (packages , PlainTextRenderer .getInstance (), suffix , EOL_STR );
270270 }
271271
272272 /**
@@ -279,7 +279,7 @@ public String getCauseStackTraceAsString(final List<String> packages, final Stri
279279 */
280280 public String getCauseStackTraceAsString (
281281 final List <String > ignorePackages , final TextRenderer textRenderer , final String suffix ) {
282- return getCauseStackTraceAsString (ignorePackages , textRenderer , suffix , EOL_STR , null );
282+ return getCauseStackTraceAsString (ignorePackages , textRenderer , suffix , EOL_STR );
283283 }
284284
285285 /**
@@ -295,11 +295,10 @@ public String getCauseStackTraceAsString(
295295 final List <String > ignorePackages ,
296296 final TextRenderer textRenderer ,
297297 final String suffix ,
298- final String lineSeparator ,
299- final Integer linesToKeep ) {
298+ final String lineSeparator ) {
300299 final StringBuilder sb = new StringBuilder ();
301300 ThrowableProxyRenderer .formatCauseStackTraceTo (
302- this , sb , ignorePackages , textRenderer , suffix , lineSeparator , linesToKeep );
301+ this , sb , ignorePackages , textRenderer , suffix , lineSeparator , null );
303302 return sb .toString ();
304303 }
305304
@@ -311,17 +310,17 @@ public String getCauseStackTraceAsString(
311310 * @param textRenderer The message renderer.
312311 * @param suffix Append this to the end of each stack frame.
313312 * @param lineSeparator The end-of-line separator.
314- * @param linesToKeep The total line count of final result
313+ * @param maxLineCount The total line count of final result
315314 */
316315 public void formatCauseStackTraceTo (
317316 final StringBuilder sb ,
318317 final List <String > ignorePackages ,
319318 final TextRenderer textRenderer ,
320319 final String suffix ,
321320 final String lineSeparator ,
322- final Integer linesToKeep ) {
321+ final Integer maxLineCount ) {
323322 ThrowableProxyRenderer .formatCauseStackTraceTo (
324- this , sb , ignorePackages , textRenderer , suffix , lineSeparator , linesToKeep );
323+ this , sb , ignorePackages , textRenderer , suffix , lineSeparator , maxLineCount );
325324 }
326325
327326 /**
@@ -424,17 +423,17 @@ public String getExtendedStackTraceAsString(
424423 * @param textRenderer The message renderer.
425424 * @param suffix Append this to the end of each stack frame.
426425 * @param lineSeparator The end-of-line separator.
427- * @param linesToKeep The total line count of final result
426+ * @param maxLineCount The total line count of final result
428427 */
429428 public void formatExtendedStackTraceTo (
430429 final StringBuilder sb ,
431430 final List <String > ignorePackages ,
432431 final TextRenderer textRenderer ,
433432 final String suffix ,
434433 final String lineSeparator ,
435- final Integer linesToKeep ) {
434+ final Integer maxLineCount ) {
436435 ThrowableProxyRenderer .formatExtendedStackTraceTo (
437- this , sb , ignorePackages , textRenderer , suffix , lineSeparator , linesToKeep );
436+ this , sb , ignorePackages , textRenderer , suffix , lineSeparator , maxLineCount );
438437 }
439438
440439 public String getLocalizedMessage () {
0 commit comments