package de.bmoth.exceptions;

public class ErrorEvent {
    String errorType;
    String message;

    public ErrorEvent(String type, String msg) {
        errorType = type;
        message = msg;
    }

    public String getMessage() {
        return message;
    }

    public String getErrorType() {
        return errorType;
    }
}

@@ -49,24 +49,32 @@
 Event %7B%0A    
+private 
 String error
@@ -83,16 +83,24 @@
 pe;%0A    
+private 
 String m
@@ -112,23 +112,16 @@
 e;%0A%0A    
-public 
 ErrorEve

Make ErrorEvent variables private