Try Catch Powershell Error Variables In Java