Package Functions

cern.gp.util.IAssert Interface Reference

Inheritance diagram for cern.gp.util.IAssert:
cern.gp.util.NbAssert

List of all members.

Package Functions

boolean doAssert (boolean condition, String message)

Detailed Description

An interface for the Assert mechanism. Needed for different, context-dependent implementations of assertion mechanism

Author:
vbaggiol

Member Function Documentation

boolean cern.gp.util.IAssert.doAssert ( boolean  condition,
String  message 
) [package]

Assertion. Does nothing if the boolean condition is true; issues an error message (and possibly an error log) if the condition is false.

Method to be implemented by different Assert mechanism. Currently implemented in a Netbeans-specific manner

Parameters:
condition the condition to be checked
errMsg the message to be displayed if the condition is false

Implemented in cern.gp.util.NbAssert.

Referenced by cern.gp.util.Assertion.assertTrue().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties