summaryrefslogtreecommitdiff
path: root/src/library/scala/runtime/RichException.scala
blob: 6bb5d9e627091c87b214e4497db50d5f71f44764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2009, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$


package scala.runtime

import compat.Platform.EOL

final class RichException(exc: Throwable) {
  def getStackTraceString = exc.getStackTrace().mkString("", EOL, EOL)
}