Also, why not delete the String sErrorMessage too?  it's never used.