
package practicehard;
/**
*
* @author Manan
*/
class RangeException extends Exception {
public RangeException() {
super(); // Calling Constructor of Super Class
}
public static void RangeCheck(double t) throws RangeException {
if (t < 0 || t > 1) {//Checking Condition for Range of Double Parameter
...