summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-11-02 08:46:39 +0000
committermihaylov <mihaylov@epfl.ch>2006-11-02 08:46:39 +0000
commit3e1e1e91bd3011ae46140f2698a578707103fe06 (patch)
tree8689732a129809698d197845233fd9e0a14eb204 /test/files/run/exceptions.scala
parentf187d8d4737064f063cc9fbc5b036979ecc8a40f (diff)
downloadscala-3e1e1e91bd3011ae46140f2698a578707103fe06.tar.gz
scala-3e1e1e91bd3011ae46140f2698a578707103fe06.tar.bz2
scala-3e1e1e91bd3011ae46140f2698a578707103fe06.zip
- added runtime.RichException with a getStackTr...
- added runtime.RichException with a getStackTraceString method (the - .NET version will be more extensive) added a split(c: Char) method to - RichString
Diffstat (limited to 'test/files/run/exceptions.scala')
-rw-r--r--test/files/run/exceptions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala
index 82740cc74d..37516737a2 100644
--- a/test/files/run/exceptions.scala
+++ b/test/files/run/exceptions.scala
@@ -33,7 +33,7 @@ object exceptions {
val value = try {
map.lookup(key)
} catch {
- case e => compat.Platform.getMessage(e)
+ case e => e.getMessage()
}
check("lookup(" + key + ")", value, "KO");
}