Prepare DokuModelAdapter to throw exceptions