Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::gp::util::IAssert Interface Reference

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

Inheritance graph
[legend]
List of all members.

Public Member 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
 

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.


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 03:08:40 2009 for ACS Java API by doxygen 1.3.8