Package com.sap.cds
Class EmptyResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sap.cds.CdsException
-
- com.sap.cds.EmptyResultException
-
- All Implemented Interfaces:
Serializable
public class EmptyResultException extends CdsException
Thrown by the runtime whenResult.single()
is executed and the result is empty. This exception will not cause the current transaction to be marked for rollback.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyResultException(String message)
EmptyResultException(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
-
-