I really wanted to just throw an exception here instead of making it more complicated...so updated checkstyle to ignore this function