Mercurial > projects > dwt2
diff 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 |
line wrap: on
line diff
--- a/java/src/java/lang/exceptions.d Fri Mar 20 23:03:58 2009 +0100 +++ b/java/src/java/lang/exceptions.d Sat Mar 21 11:22:55 2009 +0100 @@ -17,6 +17,12 @@ static import core.exception; public alias core.exception.RangeError ArrayIndexOutOfBoundsException; + class PlatformException : Exception { + this( String e = null ){ + super(e); + } + } + class IllegalArgumentException : Exception { this( String e = null ){ super(e);