generic exception and test