Declare the exception to be thrown.