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

com.sap.cds.NonUniqueResultException Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
/*******************************************************************
 * © 2019 SAP SE or an SAP affiliate company. All rights reserved. *
 *******************************************************************/
package com.sap.cds;

import java.io.Serial;

/**
 * Thrown by the runtime when {@link Result#single()} is executed and the result
 * contains more than one row. This exception will not cause the current
 * transaction to be marked for rollback.
 */
public class NonUniqueResultException extends CdsException {

	@Serial
	private static final long serialVersionUID = 1L;

	public NonUniqueResultException(String message, Throwable cause) {
		super(message, cause);
	}

	public NonUniqueResultException(String message) {
		super(message);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy