Added inner exception

Added inner exception to get stack trace of original exception