actually I introduce a slight inconsistency here. So far the getXYZ(index) methods return none (e.g. in Block) when an invalid index is given. I do not really like this and would prefer the exception. If you disagree I am happy to change the behaviour in File to match the Block-like behaviour and remove the exception.
solves issue #506
actually I introduce a slight inconsistency here. So far the getXYZ(index) methods return none (e.g. in Block) when an invalid index is given. I do not really like this and would prefer the exception. If you disagree I am happy to change the behaviour in File to match the Block-like behaviour and remove the exception.