Is there a way to test whether a specific exception gets thrown in a catch clause with multiple exceptions? Like so:
public void tryToHandleSample(double[] data,