initial support for raising of exception in entity model