📄 richexception.scala
字号:
/* __ *\** ________ ___ / / ___ Scala API **** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **** /____/\___/_/ |_/____/_/ | | **** |/ **\* */// $Idpackage scala.runtimeimport Predef._import compat.Platform.EOLfinal class RichException(exc: Throwable) { def getStackTraceString: String = { throw new UnsupportedOperationException(exc.toString)// val s = new StringBuilder()// for (trElem <- exc.getStackTrace()) {// s.append(trElem.toString())// s.append(EOL)// }// s.toString() }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -