/** @author Scott Marshall @author University of Glasgow, MSc IT Project 2001 @author Building an OnLine Course in Computing Fundamentals */ package ukacgla_BinaryConverter; /** InvalidEntryExceptions are to record an Invalid Entry,containing a programmer specified error message. */ public class InvalidEntryException extends Exception { private String problem; public InvalidEntryException (String problem){ this.problem = problem; } /** Returns the String specifed on construction of the exception */ protected String getString() { return problem; } }