Fixing the raised Exception.