Thanks to this hint i could resolve my situation from
public class DateiHandling : IDateiHandling
{
/// <inheritdoc/>
public string DateiInhalt(in string ganzerName)
{
return File.ReadAllText(ganzerName);//Methode with exceptions i want to convey
}
}
public interface IDateiHandling
{
/// <summary>
/// Liest den Inhalt der Datei auf der Festpaltte aus.
/// </summary>
/// <param name="ganzerName">Absoluter Pfad zur Datei.</param>
/// <returns>Inhalt der Datei, als String.</returns>
/// <inheritdoc cref="File.ReadAllText(string)"/> //Here the linkage to the original method
public string DateiInhalt(in string ganzerName);
}
This Perfectly resulted in me getting all the exceptions info from the Methode File.ReadAllText(string)
conveniently displayed in the interface wrapper.