Replace try/catch blocks with assertj - xacml-pdp