Yes.
Doing so allows you to refer to the constant through its class name rather than through an object.
For example, if the constants in ErrorMsg were modified by static, then the println( ) statements in main( ) could look like this:
System.out.println(err.getErrorMsg(ErrorMsg.OUTERR));
System.out.println(err.getErrorMsg(ErrorMsg.DISKERR));