-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Yoda) .canWrite() - jargon exception, rethrow as unchecked - Exception processing specific query #422
Comments
Perhaps the exception is caused due to the target specific query missing. Are you still able to produce this? |
I see this codeblock... jargon/jargon-core/src/main/java/org/irods/jargon/core/pub/CollectionAOImpl.java Lines 1772 to 1796 in ec1a053
Which is looking for a SpecificQuery by alias Blame shows the Jargon code hasn't moved in 11 years. So my guess is that you're just missing that SpecificQuery... |
Nice find. |
Hello,
I am connecting to a Yoda instance which has hacked around in iRODS making it so that not all functionalities are available (don't ask me why). Unfortunately canWrite() is one of them and when I check if a user has write permissions it throws a (see below)...
Which in principle is ok but is there a way to catch this error? I was trying a simple:
But I guess the stack trace is internally to prevent entire breakdown of a process but is there a way to check if a canWrite is possible and handle it accordingly?
The text was updated successfully, but these errors were encountered: