All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.axway.iron.error.NonnullConstraintViolationException Maven / Gradle / Ivy

There is a newer version: 0.21.0
Show newest version
package io.axway.iron.error;

import javax.annotation.*;

/**
 * This exception is thrown when a modification operation violates a {@link Nonnull} constraint.
 */
public class NonnullConstraintViolationException extends StoreException {
    public NonnullConstraintViolationException(String entityName, String fieldName) {
        super("Nonnull constraint violation", args -> args.add("entityName", entityName).add("fieldName", fieldName));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy