Propogate error

This commit is contained in:
Jesse Boyd 2018-08-12 21:18:46 +10:00
parent fa7fc22398
commit 055a08b741
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -453,7 +453,7 @@ public class DiskOptimizedClipboard extends FaweClipboard implements Closeable {
return block; return block;
} catch (IndexOutOfBoundsException ignore) { } catch (IndexOutOfBoundsException ignore) {
} catch (Exception e) { } catch (Exception e) {
MainUtil.handleError(e); throw new RuntimeException(e);
} }
return EditSession.nullBlock; return EditSession.nullBlock;
} }
@ -492,7 +492,7 @@ public class DiskOptimizedClipboard extends FaweClipboard implements Closeable {
return block; return block;
} catch (IndexOutOfBoundsException ignore) { } catch (IndexOutOfBoundsException ignore) {
} catch (Exception e) { } catch (Exception e) {
MainUtil.handleError(e); throw new RuntimeException(e);
} }
return EditSession.nullBlock; return EditSession.nullBlock;
} }
@ -521,9 +521,8 @@ public class DiskOptimizedClipboard extends FaweClipboard implements Closeable {
} }
return true; return true;
} catch (Exception e) { } catch (Exception e) {
MainUtil.handleError(e); throw new RuntimeException(e);
} }
return false;
} }
@Override @Override