generate_servlet_not_found(message)
public
Generates the 404 page for the RDoc servlet
# File lib/rdoc/generator/darkfish.rb, line 473
def generate_servlet_not_found message
setup
template_file = @template_dir + 'servlet_not_found.rhtml'
return unless template_file.exist?
debug_msg "Rendering the servlet 404 Not Found page..."
rel_prefix = rel_prefix = ''
search_index_rel_prefix = rel_prefix
search_index_rel_prefix += @asset_rel_path if @file_output
# suppress 1.9.3 warning
asset_rel_prefix = asset_rel_prefix = ''
@title = 'Not Found'
render_template template_file do |io| binding end
rescue => e
error = RDoc::Error.new "error generating servlet_not_found: #{e.message} (#{e.class})"
error.set_backtrace e.backtrace
raise error
end