scala.tools.nsc.util

Exceptional

object Exceptional extends AnyRef

Source
Exceptional.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Exceptional
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Calibrated extends AnyRef

  2. type Catcher[+T] = PartialFunction[Throwable, T]

  3. trait Formatter extends (Throwable) ⇒ Calibrated

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Formatter extends AnyRef

  7. object ScalaFormat extends TableDef[JavaStackFrame]

    A frame formatter with more refined aesthetics than the default.

  8. def apply(ex: Throwable)(implicit prefs: ScalaPrefs): Exceptional

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def causes(x: Throwable): List[Throwable]

  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def expiringHandler[T](numCatches: Int)(pf: Catcher[T]): Catcher[T]

    Creates an exception handler which will only ever catch the given number of exceptions (if the given pf is defined there) and after that will disable itself.

  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isLocal(ste: StackTraceElement): Boolean

  20. def locateSource(sources: Sources, frame: JavaStackFrame): Option[Fileish]

    Right now this punts if more than one match and it accepts the first at random.

  21. def locateSources(sources: Sources, frame: JavaStackFrame): List[Fileish]

    Java stack traces have the interesting property of using only the name of the file, no paths.

    Java stack traces have the interesting property of using only the name of the file, no paths. This makes it a bit of a gamble to try to associate a stack frame with a specific file. Witness the heuristic.

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def showme(): Unit

  26. def showstack(): Unit

  27. def stack(): Array[JavaStackFrame]

    Some handy functions.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. implicit def throwableToExceptional(ex: Throwable)(implicit prefs: ScalaPrefs): Exceptional

    The Throwable => Exceptional implicit plus the associated factory.

  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. def unwrap(x: Throwable): Throwable

  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any