Added From_Non_Null_Handle function which throws an exception on null handle. The next stage is to use this function