/*
 * Copyright 2011-2023 MicroEJ Corp. All rights reserved.
 * This library is provided in source code for use, modification and test, subject to license terms.
 * Any modification of the source code will break MicroEJ Corp. warranties on the whole library.
 */
package ej.bon;

/**
 * Indicates an error accessing immutables data.
 */
public class ImmutablesError extends VirtualMachineError {

    /**
     * Constructs an ImmutablesError with no detail message.
     */
    public ImmutablesError() {
        super();
        throw new RuntimeException();
    }

    /**
     * Constructs an ImmutablesError with the specified detail message.
     *
     * @param msg
     *            the String that contains a detailed message
     */
    public ImmutablesError(String msg) {
        super();
        throw new RuntimeException();
    }
}
