Class InvalidEventDataTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.cloudsimplus.util.InvalidEventDataTypeException
- All Implemented Interfaces:
Serializable
An exception to be thrown 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 Summary
ConstructorsConstructorDescriptionInvalidEventDataTypeException(SimEvent evt, String tagName, String requiredClassName) Instantiates the exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEventDataTypeException
Instantiates the exception- Parameters:
evt- the event having invalid data typetagName- the name of the tag fromCloudSimTagthat generated the eventrequiredClassName- the name of the required class wasn't met. It's String to enable providing specific type names using generics, suchSet<Datacenter>instead of just Set.
-