If action and effect are null, it indicates the exception was thrown during state transition. If effect is null, it indicates the exception was thrown during action handling. If action is null, it indicates the exception was thrown during effect handling.