Base Dap constructor and two Dap related exception