Java / Calculator GUI / LongOperandException.java
LongOperandException.java
Raw
/**
 * Program Name: Calculator.java
 * Author: Essam Fahmy
 * Date: August 8, 2022
 * Purpose: This exception class is used when there is a long operand
 */
public class LongOperandException extends Exception{
	
	LongOperandException(String value)
	{
			super("Long operand detected! Please try a shorter one.");
	}

}