Following this question: Handling exceptions in a Swing UI (low level to high level and exception wrapping)
There is an obvious dependency between the logic/service and ui layer in that an Exception is being thrown from a method in a service class (IOException coming from a file operation) and being handled in the code of Swing component.
Is this something to be avoided? If it's best to avoid dependencies like this how could Exceptions in a service class be handled? Should I simply wrap the Exception in a RuntimeException and let it propagate to the UncaughtExceptionHandler?