Mercurial > projects > dwt2
comparison java/src/java/lang/exceptions.d @ 26:f589fc20a5f9
work on linux phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 21 Mar 2009 11:22:55 +0100 |
parents | 9b96950f2c3c |
children |
comparison
equal
deleted
inserted
replaced
25:f713da8bc051 | 26:f589fc20a5f9 |
---|---|
14 alias Exception Throwable; | 14 alias Exception Throwable; |
15 } else { // Phobos | 15 } else { // Phobos |
16 | 16 |
17 static import core.exception; | 17 static import core.exception; |
18 public alias core.exception.RangeError ArrayIndexOutOfBoundsException; | 18 public alias core.exception.RangeError ArrayIndexOutOfBoundsException; |
19 | |
20 class PlatformException : Exception { | |
21 this( String e = null ){ | |
22 super(e); | |
23 } | |
24 } | |
19 | 25 |
20 class IllegalArgumentException : Exception { | 26 class IllegalArgumentException : Exception { |
21 this( String e = null ){ | 27 this( String e = null ){ |
22 super(e); | 28 super(e); |
23 } | 29 } |