Package com.sap.cds
Class NonUniqueResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sap.cds.CdsException
-
- com.sap.cds.NonUniqueResultException
-
- All Implemented Interfaces:
Serializable
public class NonUniqueResultException extends CdsException
Thrown by the runtime whenResult.single()
is executed and the result contains more than one row. This exception will not cause the current transaction to be marked for rollback.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonUniqueResultException(String message)
NonUniqueResultException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-