Propogate error
This commit is contained in:
parent
fa7fc22398
commit
055a08b741
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user