    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.

##

failedObject
  The object failing the ImplementationCheck

##

ImplementationError()
ImplementationError(String, Object)

##

assert(Object, boolean)
  Assertion checking utility.

##

failedObject

     public Object failedObject

  The object failing the ImplementationCheck

##

ImplementationError

     public ImplementationError()

ImplementationError

     public ImplementationError(String msg,
                                Object v)

##

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