Removed docs, should be in global; try-catch in Java