Importing the correct IllegalStateException.