Class StackTraceFilter

  • All Implemented Interfaces:
    IStackTraceFilter

    public class StackTraceFilter
    extends java.lang.Object
    implements IStackTraceFilter
    Filters an exception's stack trace. Removes internal Groovy and Spock methods, and restores the original names of feature methods (as specified in source code). Stack trace elements below a feature/fixture method invocation are truncated.
    Author:
    Peter Niederwieser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(java.lang.Throwable throwable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • filter

        public void filter​(java.lang.Throwable throwable)
        Specified by:
        filter in interface IStackTraceFilter