ws doc+trycatch