Commit f09c1541 authored by Gabriel Guardincerri's avatar Gabriel Guardincerri Committed by gguardin

Only throws NotAuthorized exceptions to avoid stack traces on the UI

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10051 b35dd754-fafc-0310-a699-88a17e54d16e
parent 065ba3a0
......@@ -70,7 +70,7 @@ public class ClearspaceAuthProvider implements AuthProvider {
throw ue;
} catch (Exception e) {
// It is not supported exception, wrap it into an UnsupportedOperationException
throw new UnsupportedOperationException("Unexpected error", e);
throw new UnauthorizedException("Unexpected error", e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment