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
Thrown by the runtime when
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.- See Also:
-
Constructor Summary
ConstructorDescriptionNonUniqueResultException
(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
-
Constructor Details
-
NonUniqueResultException
-
NonUniqueResultException
-