NoStackTrace

scala.util.control.NoStackTrace
See theNoStackTrace companion object
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.

Attributes

Note

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

Companion
object
Source
NoStackTrace.scala
Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def fillInStackTrace(): Throwable

Attributes

Definition Classes
Source
NoStackTrace.scala

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable