Mongrel2::

UnhandledMethodError

class
Superclass
Mongrel2::Exception

An exception class raised from a Mongrel2::Request when the raw request headers contain an unhandled METHOD.

Attributes

method_name[R]

The METHOD that was unhandled

Public Class Methods

anchor
new( method_name, *args )

Set the method_name that was unhandled.

# File lib/mongrel2/exceptions.rb, line 18
def initialize( method_name, *args )
        @method_name = method_name
        super( "Unhandled method %p" % [ method_name ], *args )
end