summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-08-11 15:33:30 +0000
committerpaltherr <paltherr@epfl.ch>2004-08-11 15:33:30 +0000
commita0b45320243d2db8498899f0b0ff14666f5f0c71 (patch)
tree901da49d8b090ac602f2590e716369ffa5611f54 /sources
parent3db749409608fb39c7e7e3ce2b0b020691bcf6e3 (diff)
downloadscala-a0b45320243d2db8498899f0b0ff14666f5f0c71.tar.gz
scala-a0b45320243d2db8498899f0b0ff14666f5f0c71.tar.bz2
scala-a0b45320243d2db8498899f0b0ff14666f5f0c71.zip
- Enhanced initialization of thrown RuntimeExce...
- Enhanced initialization of thrown RuntimeException
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/symtab/classfile/AttributeParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/classfile/AttributeParser.java b/sources/scalac/symtab/classfile/AttributeParser.java
index e93e07bbaa..7ddc1b0ef1 100644
--- a/sources/scalac/symtab/classfile/AttributeParser.java
+++ b/sources/scalac/symtab/classfile/AttributeParser.java
@@ -109,7 +109,7 @@ public class AttributeParser implements ClassfileConstants {
UnPickle.parse(parser.global, in.nextBytes(attrLen), sym);
return;
} catch (UnPickle.BadSignature exception) {
- throw new RuntimeException(exception.getMessage());
+ throw new RuntimeException(exception);
}
case INNERCLASSES_ATTR:
int n = in.nextChar();