org.drools
Class AssertionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.FactException
                  extended by org.drools.AssertionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConditionException, ConsequenceException

public class AssertionException
extends FactException

Indicates an error while asserting a new root fact object into a WorkingMemory.

Author:
bob mcwhirter
See Also:
WorkingMemory.assertObject(java.lang.Object), Serialized Form

Constructor Summary
AssertionException()
          Construct.
AssertionException(String message)
           
AssertionException(Throwable rootCause)
          Construct with a root cause.
 
Method Summary
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionException

public AssertionException()
Construct.


AssertionException

public AssertionException(Throwable rootCause)
Construct with a root cause.

Parameters:
rootCause - The root cause of this exception.

AssertionException

public AssertionException(String message)


Copyright © 2001-2005 The Codehaus. All Rights Reserved.