Do the following things illegally:
(1) solve the problem and invoke the method of causing the violation again.
(2) To quell the development of the situation and to continue without trying the method again.
(3) Calculating other results rather than the results of the desired method.
(4) To solve the problem as much as possible in the current environment, and to "throw" the same violation back into a more advanced environment.
(5) To solve the problem as much as possible in the current environment and to "throw" different offences back into a more advanced environment.
(6) Suspending the execution of the procedure.
(7) Simplified coding. If the offending scheme makes things more complicated, it will be very annoying.
(8) Make your own libraries and programs more secure. This is both a "short-term investment" (easy to debug) and a "long-term investment" (improving the robustness of the application)