Skip to content

Instantly share code, notes, and snippets.

@tmanOC
Created September 16, 2019 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmanOC/235ad4b67c51666028c1c42f8df91e79 to your computer and use it in GitHub Desktop.
Save tmanOC/235ad4b67c51666028c1c42f8df91e79 to your computer and use it in GitHub Desktop.
Using Exception Util
Double number = ExceptionUtil.tryBlock(() -> Double.valueOf(numberAsString))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment