package java.lang;

/**
 * Thrown when an exceptional arithmetic condition has occurred. For example, an integer "divide by
 * zero" throws an instance of this class.
 */
public class ArithmeticException extends RuntimeException {

    /**
     * Constructs an {@code ArithmeticException} with no detail message.
     */
    public ArithmeticException() {
        throw new RuntimeException();
    }

    /**
     * Constructs an {@code ArithmeticException} with the specified detail message.
     *
     * @param s
     *        the detail message.
     */
    public ArithmeticException(String s) {
        throw new RuntimeException();
    }
}
