/** Assertion.java defines a class to implement assertion checking. *  Author:  Charles Hoot *  Version: For Hands on Java:   All Rights Reserved. */package hoj;import hoj.AssertionException;public class Assertion extends Object {	public static void check ( boolean condition) {		if(!condition)			throw new AssertionException("Assertion check failed");	}}