DefaultStackTraceCleanerProvider
Date: 2015-09-18

org.mockito.internal.exceptions.stacktrace

## Class DefaultStackTraceCleanerProvider

- java.lang.Object
- - org.mockito.internal.exceptions.stacktrace.DefaultStackTraceCleanerProvider

- All Implemented Interfaces:
    StackTraceCleanerProvider

      public class DefaultStackTraceCleanerProvider
      extends java.lang.Object
      implements StackTraceCleanerProvider

  by Szczepan Faber, created at: 7/29/12

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultStackTraceCleanerProvider()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `StackTraceCleaner` | `getStackTraceCleaner(StackTraceCleaner defaultCleaner)` Allows configuring custom StackTraceCleaner.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultStackTraceCleanerProvider

          public DefaultStackTraceCleanerProvider()

  - ### Method Detail

    - #### getStackTraceCleaner

          public StackTraceCleaner getStackTraceCleaner(StackTraceCleaner defaultCleaner)

      Description copied from interface: `StackTraceCleanerProvider`
      Allows configuring custom StackTraceCleaner.
      Specified by:
        `getStackTraceCleaner` in interface `StackTraceCleanerProvider`
      Parameters:
        `defaultCleaner` - - Mockito's default StackTraceCleaner
      Returns:
        StackTraceCleaner to use