Added a new overrideable handler for unhandled generic excpetion in the RestProcessor class

#### Changes

- Added a virtual method to handle generic exception in the Rest Processor in case overridden method throw a custom exception, it will not get caught by the default handler.