package ozmod;

import ozmod.OZMod.ERR;

@SuppressWarnings("serial")
public class OZModRuntimeError extends RuntimeException {

	private ERR err;

	public OZModRuntimeError(ERR error) {
		this.err = error;
	}
	
	@Override
	public String getMessage() {
		return err.toString();
	}
	
	@Override
	public String getLocalizedMessage() {
		return err.toString();
	}

}

@@ -130,16 +130,22 @@
 private 
+final 
 ERR err;
@@ -146,16 +146,57 @@
 R err;%0A%0A
+%09public ERR getErr() %7B%0A%09%09return err;%0A%09%7D%0A%0A
 %09public 

make ERR err gettable