ConstraintViolationException和PSQLException有什么关系,当psqlexception发生主键重复时constraintviolationexception会捕获吗?