package net.ssehub.kernel_haven.util;

import net.ssehub.kernel_haven.util.null_checks.Nullable;

/**
 * Exception for unexpected structure of file-content.
 * 
 * @author Adam
 * @author Moritz
 *
 */
public class FormatException extends Exception {

    
    private static final long serialVersionUID = 2081277470741239201L;

    /**
     * Creates a new FormatException.
     */
    public FormatException() {

    }
    
    /**
     * Creates a new FormatException.
     * 
     * @param message The message to display.
     */
    public FormatException(@Nullable String message) {
        super(message);
    }
    
    /**
     * Creates a new FormatException.
     * 
     * @param cause The exception that caused this exception.
     */
    public FormatException(@Nullable Throwable cause) {
        super(cause);
    }
}

@@ -825,10 +825,309 @@
 ;%0A    %7D%0A
+    %0A    /**%0A     * Creates a new FormatException.%0A     * %0A     * @param message The message to display.%0A     * @param cause The exception that caused this exception.%0A     */%0A    public FormatException(@Nullable String message, @Nullable Throwable cause) %7B%0A        super(message, cause);%0A    %7D%0A    %0A
 %7D%0A

Add FormatException constructor for message and cause