NoStackTrace

trait NoStackTrace extends Throwable

A trait for exceptions which, for efficiency reasons, do not fill in the stack trace. Stack trace suppression can be disabled on a global basis via a system property wrapper in scala.sys.SystemProperties.

Note:

Since JDK 1.7, a similar effect can be achieved with class Ex extends Throwable(..., writableStackTrace = false)

Companion:
object
Source:
NoStackTrace.scala
class Throwable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def fillInStackTrace(): Throwable
Definition Classes
Source:
NoStackTrace.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Throwable

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Inherited from:
Throwable