org.drools
Class AssertionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.FactException
                  extended byorg.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

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
AssertionException()
          Construct.
AssertionException(String message)
           
AssertionException(Throwable rootCause)
          Construct with a root cause.
 
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-2004 The Codehaus. All Rights Reserved.