Package com.sap.cds

Class EmptyResultException

  • All Implemented Interfaces:
    Serializable

    public class EmptyResultException
    extends CdsException
    Thrown by the runtime when Result.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 Detail

      • EmptyResultException

        public EmptyResultException​(String message,
                                    Throwable cause)
      • EmptyResultException

        public EmptyResultException​(String message)