init with exception caught