FileDocCategorySizeDatePackage
Assertion.javaAPI DocGlassfish v2 API2775Fri May 04 22:34:38 BST 2007com.sun.jdo.api.persistence.enhancer.util

Assertion

public class Assertion extends Object
Support for signalling internal implementation errors.

Fields Summary
Constructors Summary
Methods Summary
protected static final voidaffirm(boolean condition)

        if (!condition)
            throw new InternalError("assertion failed.");//NOI18N
    
protected static final voidaffirm(boolean condition, java.lang.String msg)

        if (!condition)
            throw new InternalError("assertion failed: " + msg);//NOI18N
    
protected static final voidaffirm(java.lang.Object object)

        if (object == null)
            throw new InternalError("assertion failed.");//NOI18N
    
protected static final voidaffirm(java.lang.Object object, java.lang.String msg)

        if (object == null)
            throw new InternalError("assertion failed: " + msg);//NOI18N