Class InvalidEventDataTypeException

All Implemented Interfaces:
Serializable

public class InvalidEventDataTypeException extends IllegalStateException
An exception to be raised when the type of the SimEvent.getData() is not as expected for a given tag from CloudSimTag.
Since:
CloudSim Plus 7.0.1
Author:
Manoel Campos da Silva Filho
See Also:
  • Constructor Details

    • InvalidEventDataTypeException

      public InvalidEventDataTypeException(SimEvent evt, String tagName, String requiredClassName)
      Instantiates the exception
      Parameters:
      evt - the event having invalid data type
      tagName - the name of the tag from CloudSimTag that generated the event
      requiredClassName - the name of the required class wasn't met. It's String to enable providing specific type names using generics, such "Set" instead of just Set.