code: protected static void triggerExceptionHandlersWrite (@Nonnull final Throwable t,
                                                         @Nonnull final String sErrorFilename,
                                                         @Nullable final IMicroDocument aDoc)
    {
      // Check if a custom exception handler is present
      if (exceptionHandlersWrite ().isNotEmpty ())
      {
        final IReadableResource aRes = new FileSystemResource (sErrorFilename);
        final String sXMLContent = aDoc == null ? "no XML document created" : MicroWriter.getNodeAsString (aDoc);
        exceptionHandlersWrite ().forEach (aCB -> aCB.onDAOWriteException (t, aRes, sXMLContent));
      }
    }
docs: Trigger the registered custom exception handlers for read errors.
  
  @param t
  Thrown exception. Never <code>null</code>.
  @param sErrorFilename
  The filename tried to write to. Never <code>null</code>.
  @param aDoc
  The XML content that should be written. May be <code>null</code> if
  the error occurred in XML creation.