package exceptions;

public class TemperatureException extends RuntimeException {
    public static final long serialVersionUID = 6L;

    public TemperatureException(){
    }
    
    public TemperatureException(String msg) {
        super(msg);
    }

    public static void main(String[] args) throws TemperatureException {
        System.out
                .println("Hello World! Now lets throw a TemperatureException...");
        throw new TemperatureException("it is way to hot in here!");
    }
}
