Tag: Exception

  • Groovy Exception handling

    Exception handling

    Groovy lets the programmer decide to catch the exception or not. In the following example, the developer tries to open and read the contents of a file. He does not need to surround the method with a try and catch block, when he knows that the file exists. (more…)

Create your own website, free on WordPress.com.Create your own website.
Start free