Class MissingFactException

All Implemented Interfaces:
Serializable

@NullMarked public class MissingFactException extends RuntimeException
A MissingFactException is thrown in case an Actor cannot Actor.remembers(java.lang.Class<F>) a required Fact Class.
See Also:
  • Constructor Details

    • MissingFactException

      public MissingFactException(Actor actor, Class<? extends Fact> factClass)
      Parameters:
      actor - the Actor missing the factClass
      factClass - the class of the missing Fact