Kanzi  3.9.9
Kanzi Engine Java API
Assert.StringFactory Interface Reference

Interface for a callback which returns the message string to be attached to an assertion error. More...

Public Member Functions

String message ()
 Returns the specified message. More...
 

Detailed Description

Interface for a callback which returns the message string to be attached to an assertion error.

Member Function Documentation

String message ( )

Returns the specified message.

Used as a lambda function to defer the message creation until the assertion fails.

Returns
The message the assertion should throw.