Support for subtyping of BusinessException and SecurityException

Added support for subtyping of BusinessException and SecurityException in RequestProcessingHandler.