Package com.sap.cds

Class NonUniqueResultException

All Implemented Interfaces:
Serializable

public class NonUniqueResultException extends CdsException
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 Details

    • NonUniqueResultException

      public NonUniqueResultException(String message, Throwable cause)
    • NonUniqueResultException

      public NonUniqueResultException(String message)