fix scala 2.12 build (#690)
This commit is contained in:
parent
d15f18f802
commit
6f52c85d0b
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ abstract class HashCodeNoEnvelopeMessageExtractor[M](val numberOfShards: Int) ex
|
|||
*
|
||||
* @param entityId The business domain identifier of the entity.
|
||||
* @param message The message to be send to the entity.
|
||||
* @throws pekko.actor.InvalidMessageException if message is null.
|
||||
* @throws [[pekko.actor.InvalidMessageException]] if message is null.
|
||||
*/
|
||||
final case class ShardingEnvelope[M](entityId: String, message: M) extends WrappedMessage {
|
||||
if (message == null) throw InvalidMessageException("[null] is not an allowed message")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue