c

scala.tools.nsc.util

StackTraceOps

implicit final class StackTraceOps extends AnyVal with StackTracing

Source
package.scala
Linear Supertypes
StackTracing, AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StackTraceOps
  2. StackTracing
  3. AnyVal
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StackTraceOps(e: Throwable)

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. def stackTracePrefixString(p: (StackTraceElement) => Boolean): String

    Format the stack trace, returning the prefix consisting of frames that satisfy a given predicate.

    Format the stack trace, returning the prefix consisting of frames that satisfy a given predicate. The format is similar to the typical case described in the Javadoc for java.lang.Throwable#printStackTrace()*. If a stack trace is truncated, it will be followed by a line of the form ... 3 elided, by analogy to the lines ... 3 more which indicate shared stack trace segments.

    p

    the predicate to select the prefix

  3. def stackTracePrefixString(e: Throwable)(p: (StackTraceElement) => Boolean): String

    Format a stack trace, returning the prefix consisting of frames that satisfy a given predicate.

    Format a stack trace, returning the prefix consisting of frames that satisfy a given predicate.

    The format is similar to the typical case described in the Javadoc for java.lang.Throwable#printStackTrace()*. If a stack trace is truncated, it will be followed by a line of the form ... 3 elided, by analogy to the lines ... 3 more which indicate shared stack trace segments.

    e

    the exception

    p

    the predicate to select the prefix

    Definition Classes
    StackTracing