Mercurial > projects > dwt-win
comparison dwt/dwthelper/utils.d @ 199:3d5dbb27dec2
RuntimeException with getCause
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:26:13 +0200 |
parents | 184ab53b7785 |
children | fef1e3b37378 |
comparison
equal
deleted
inserted
replaced
198:be4ce760802a | 199:3d5dbb27dec2 |
---|---|
635 this( char[] e = null){ | 635 this( char[] e = null){ |
636 super(e); | 636 super(e); |
637 } | 637 } |
638 this( Exception e ){ | 638 this( Exception e ){ |
639 super(e.toString); | 639 super(e.toString); |
640 } | 640 next = e; |
641 } | |
642 public Exception getCause() { | |
643 return next; | |
644 } | |
645 | |
641 } | 646 } |
642 class IndexOutOfBoundsException : Exception { | 647 class IndexOutOfBoundsException : Exception { |
643 this( char[] e = null){ | 648 this( char[] e = null){ |
644 super(e); | 649 super(e); |
645 } | 650 } |