Woops, forgot to put @raises over the method