class ExtendedThrowable[T <: Throwable] extends AnyRef
See the ExtendedExceptions object description
- Alphabetic
- By Inheritance
- ExtendedThrowable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExtendedThrowable(t: T)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(i: Int): StackTraceElement
- returns
the ith stacktrace element
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chainedExceptions: List[Throwable]
- returns
the list of chained exceptions
- def classLocation: String
- returns
the class name and the line number where the Throwable was created
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(pattern: String): Boolean
- returns
true if the pattern exists in one of the traces
- def filter(f: (Seq[StackTraceElement]) => Seq[StackTraceElement]): T
Select all traces of this exception according to filtering function WARNING: this mutates the exception to be able to retain its type!
- def filter(pattern: String): T
Select all traces of this exception matching a given pattern
- def filterNot(pattern: String): T
Select all traces of this exception not matching a given pattern
- def fullLocation: String
- returns
the class name, file Name and the line number where the Throwable was created
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getFullStackTrace: List[StackTraceElement]
- returns
the list of all stacktrace elements
- def getFullStackTraceAsString: String
- returns
the full stack trace as a string
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def headOption: Option[StackTraceElement]
- returns
the first stacktrace element as an option
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def location: String
- returns
the file name and the line number where the Throwable was created
- def messageAndCause: String
- returns
the exception message and its cause if any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def printFullStackTrace(): Unit
print all the stacktrace for t, including the traces from its causes
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated