EnsureException.this

Constructs a new EnsureException for a given parameter with a custom message.

class EnsureException
this
(
string paramName
,
string msg
,
string file = __FILE__
,
size_t line = __LINE__
,
Throwable next = null
)

Parameters

paramName string

The name of the parameter being validated.

msg string

The message to pass to the exception's constructor.

file string

Used for passing the appropriate file name to the exception's constructor.

line size_t

Used for passing the appropriate line number to the exception's constructor.

next Throwable

The next throwable object in the chain.

Meta

Authors

Tony J. Hudgins