requiredAggregateType
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Return
The aggregate class.
Parameters
T
The expected type of the aggregate class.
Throws
if the aggregate type is not found.