请告诉我,异常的描述没有出现

Abh*_*ini -1 java exception-handling

package javaapplication16;

class ExceptionoftheGods extends Exception {

    double b;

    ExceptionoftheGods (String msg){
    }

}

class mak {

    static void compute(int a) throws ExceptionoftheGods {
        System.out.println("Called Compute(" + a + ")");
        if(a > 7) {
            throw new ExceptionoftheGods("Dog");
        }
        System.out.println("Normal Exit");
    }    


    public static void main(String[] args) {
        try {
            compute(1);
            compute(9);
        } catch(ExceptionoftheGods e) {
            System.out.println(" Caught " + e);
        }
    }

}
Run Code Online (Sandbox Code Playgroud)

OUTPUT

run:
Called Compute(1)
Normal Exit
Called Compute(9)
 Caught javaapplication16.ExceptionoftheGods
BUILD SUCCESSFUL (total time: 0 seconds)
Run Code Online (Sandbox Code Playgroud)

Pri*_*ley 5

ExceptionoftheGods(String msg) {
    super(msg); // missing
}
Run Code Online (Sandbox Code Playgroud)