blob: e4803c8314ad8233f67649a742a6f1cfe5200c41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* __ *\
** ________ ___ / / ___ __ ____ Scala.js API **
** / __/ __// _ | / / / _ | __ / // __/ (c) 2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ |/_// /_\ \ http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | |__/ /____/ **
** |/____/ **
\* */
package scala.scalajs.js
case class JavaScriptException(exception: scala.Any) extends RuntimeException {
override def toString() = exception.toString()
override def fillInStackTrace(): Throwable = {
scala.scalajs.runtime.StackTrace.captureState(this, exception)
this
}
}
|