diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2006-06-20 11:33:58 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2006-06-20 11:33:58 +0000 |
commit | 82492924248408873a734a200ae2b4b1bc71ec75 (patch) | |
tree | 93cb01b7125a57939e2475875f4b4638182729f3 /test/files/run/exceptions-2.scala | |
parent | ddad4e40ef78fc18fb054ac26bc056ed46822224 (diff) | |
download | scala-82492924248408873a734a200ae2b4b1bc71ec75.tar.gz scala-82492924248408873a734a200ae2b4b1bc71ec75.tar.bz2 scala-82492924248408873a734a200ae2b4b1bc71ec75.zip |
Fixed bug #632 and updated test file.
Diffstat (limited to 'test/files/run/exceptions-2.scala')
-rw-r--r-- | test/files/run/exceptions-2.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/exceptions-2.scala b/test/files/run/exceptions-2.scala index e006bc053d..bc374a1c49 100644 --- a/test/files/run/exceptions-2.scala +++ b/test/files/run/exceptions-2.scala @@ -111,8 +111,7 @@ object Test { } } catch { case npe: NullPointerException => - Console.println("Exception occurred with stack trace:"); - npe.printStackTrace(); + Console.println("Cought an NPE"); } def withValue1: Unit = { |