cast -1 to the SLPError so that the code works with openSLP-2.0