view java/src/java/lang/reflect/InvocationTargetException.d @ 2:712ffca654f3

Moved java classes to their correct location
author Frank Benoit <benoit@tionex.de>
date Wed, 04 Mar 2009 21:41:18 +0100
parents
children
line wrap: on
line source

module java.lang.reflect.InvocationTargetException;

import java.lang.all;

class InvocationTargetException : Exception {
    Exception cause;
    this( Exception e = null, String msg = null ){
        super(msg);
        cause = e;
    }

    alias getCause getTargetException;
    Exception getCause(){
        return cause;
    }
}