ix.util.context
Class ContextChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ix.util.ConsistencyException
                  extended by ix.util.context.ContextChangeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContextHashMap.IteratorContextException

public class ContextChangeException
extends ConsistencyException

Thrown when the current context is not what it should be. For example, if an iterator for a context-dependent collection is created when the current context is C, the context should still be C when the iterator is used.

See Also:
Serialized Form

Constructor Summary
ContextChangeException()
           
ContextChangeException(java.lang.String message)
           
ContextChangeException(java.lang.String message, java.lang.Object culprit)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextChangeException

public ContextChangeException()

ContextChangeException

public ContextChangeException(java.lang.String message)

ContextChangeException

public ContextChangeException(java.lang.String message,
                              java.lang.Object culprit)