method

def_exception

ruby latest stable - Class: Exception2MessageMapper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

def_exception(k, n, m, s = StandardError)
public

E2MM.def_exception(k, n, m, s)

    k:  class to define exception under.
    n:  exception_name
    m:  message_form
    s:  superclass(default: StandardError)
define exception named ``c'' with message m.