Category "exception-handling"

How to catch exceptions in grails REST controllers

If you use a controller to implement rest APIs, you want to deal with any exception thrown and return a generic or specific well formed REST response. We can't

Why isn't my PHP exception working?

I am new to exceptions in PHP or any language really. I am trying to catch an exception if a user enters an invalid textual timezone ("xxxxxxxxxx" in this case)

Execute the remaining code after handling exception in java? [closed]

I may be silly. But I got interviewed and I was asked question regarding how you will run the remaining code after you will get the exception.

Execute the remaining code after handling exception in java? [closed]

I may be silly. But I got interviewed and I was asked question regarding how you will run the remaining code after you will get the exception.

Execute the remaining code after handling exception in java? [closed]

I may be silly. But I got interviewed and I was asked question regarding how you will run the remaining code after you will get the exception.

PHP returning an error message and false

I have a very simple PHP function to check log-in function check_login($user, $pass) { if(!isset($user) || $user == '') { return 'Please enter a v

Detecting out of memory errors

I would like to provide my system with a way of detecting whether out of memory exception has occurred or not. The aim for this exercise is to expose this flag