Overrides the thrown exception. The passed exception should be a checked exception of the method. Note that for runtime exceptions, or even {@link Error}s, those can just be thrown. Sets the fail flag.
@param thrown
@throws IllegalArgumentException if thrown is null, or not a declared exception of the method
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.