All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class collections.ImplementationError

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Error
                   |
                   +----collections.ImplementationError

public class ImplementationError
extends Error
ImplementationError is thrown by ImplementationCheckable.checkImplementation upon failure to verify internal representation constraints.


Variable Index

 o failedObject
The object failing the ImplementationCheck

Constructor Index

 o ImplementationError()
 o ImplementationError(String, Object)

Method Index

 o assert(Object, boolean)
Assertion checking utility.

Variables

 o failedObject
 public Object failedObject
The object failing the ImplementationCheck

Constructors

 o ImplementationError
 public ImplementationError()
 o ImplementationError
 public ImplementationError(String msg,
                            Object v)

Methods

 o assert
 public static void assert(Object obj,
                           boolean pred) throws ImplementationError
Assertion checking utility. Throws Implementation error if pred is false.

Parameters:
obj - -- the object making the assertion
pred - -- the assertion

All Packages  Class Hierarchy  This Package  Previous  Next  Index