Removed old code, added missing exceptions
Removed old code, added missing exceptions

Using boolean return values would be better, but I don't want to break the API.

SoftCreatR/WCF,0xLeon/WCF,PhrozenByte/WCF2,joshuaruesweg/WCF,MenesesEvandro/WCF,MeinAccount/WCF,cashcat/WCF-1,WoltLab/WCF,WoltLab/WCF,Morik/WCF,ramiusGitHub/WCF,0xLeon/WCF,SoftCreatR/WCF,ramiusGitHub/WCF,Morik/WCF,SoftCreatR/WCF,MeinAccount/WCF,MenesesEvandro/WCF,NBZ4live/WCF,joshuaruesweg/WCF,Cyperghost/WCF,NBZ4live/WCF,joshuaruesweg/WCF,WoltLab/WCF,WoltLab/WCF,Morik/WCF,Cyperghost/WCF,Cyperghost/WCF,PhrozenByte/WCF2,SoftCreatR/WCF,cashcat/WCF-1,Morik/WCF,Cyperghost/WCF,0xLeon/WCF,Cyperghost/WCF