Hi, >If the OakException wraps a RepositoryException, we extract that one and >rethrow it, it will come with an incorrect stack trace, no?
You mean, if we use "throw ((OakException) e).getOriginalException()" or something similar when unwrapping? > So it seems >we need to re-wrap. Not sure what you mean with re-wrap actually... > >It seems we're converging on > >- OakException extends RuntimeException > >- OakExpception can carry RepositoryException > >Should we start with that, and see how this works? (Open a issue for it?) Sounds good to me. Regards, Thomas
