Mercurial > projects > dwt-linux
comparison dwt/dwthelper/utils.d @ 225:5366f8db1eda
RuntimeException with getCause
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:26:04 +0200 |
parents | d0081b1505da |
children | 6da025bf255e |
comparison
equal
deleted
inserted
replaced
224:ac1c09c92858 | 225:5366f8db1eda |
---|---|
618 this( char[] e = null){ | 618 this( char[] e = null){ |
619 super(e); | 619 super(e); |
620 } | 620 } |
621 this( Exception e ){ | 621 this( Exception e ){ |
622 super(e.toString); | 622 super(e.toString); |
623 } | 623 next = e; |
624 } | |
625 public Exception getCause() { | |
626 return next; | |
627 } | |
628 | |
624 } | 629 } |
625 class IndexOutOfBoundsException : Exception { | 630 class IndexOutOfBoundsException : Exception { |
626 this( char[] e = null){ | 631 this( char[] e = null){ |
627 super(e); | 632 super(e); |
628 } | 633 } |