CSE-8B / PA9 / starter / MSBOutOfBoundsException.java
MSBOutOfBoundsException.java
Raw
//File: MSBOutOfBoundsException.java
//Name: Trai Pham
//Date: 03/09/2020
//Course: CSE 8B
/**
custom exception
**/
/**
 * MSBOutOfBoundsException.java
 *
 * @author Charles Tianchen Yu
 * <p>
 * This file is a solution file.
 */

public class MSBOutOfBoundsException extends MyException {

    public MSBOutOfBoundsException(String from, String message) {
        super(from, message);
    }

    public String toString() {
        return String.format("MSBOutOfBounds%s", super.toString());
    }
}