implicit final class StackTraceOps extends AnyVal with StackTracing
- Source
- package.scala
- Alphabetic
- By Inheritance
- StackTraceOps
- StackTracing
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from StackTraceOps to any2stringadd[StackTraceOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (StackTraceOps, B)
- Implicit
- This member is added by an implicit conversion from StackTraceOps to ArrowAssoc[StackTraceOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (StackTraceOps) ⇒ Boolean, msg: ⇒ Any): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps to Ensuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (StackTraceOps) ⇒ Boolean): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps to Ensuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps to Ensuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps to Ensuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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 morewhich indicate shared stack trace segments.- p
the predicate to select the prefix
-
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 morewhich indicate shared stack trace segments.- e
the exception
- p
the predicate to select the prefix
- Definition Classes
- StackTracing
-
def
toString(): String
- Definition Classes
- Any
-
def
→[B](y: B): (StackTraceOps, B)
- Implicit
- This member is added by an implicit conversion from StackTraceOps to ArrowAssoc[StackTraceOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StackTraceOps to StringFormat[StackTraceOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.