final case class InvalidPartnerActorException(expectedRef: ActorRef, gotRef: ActorRef, msg: String) extends IllegalStateException with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- InvalidPartnerActorException
- Product
- Equals
- IllegalStateException
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- val expectedRef: ActorRef
- def fillInStackTrace(): Throwable
- Definition Classes
- Throwable
- def getCause(): Throwable
- Definition Classes
- Throwable
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- Throwable
- def getStackTrace(): [StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): [Throwable]
- Definition Classes
- Throwable
- val gotRef: ActorRef
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- val msg: String
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def setStackTrace(arg0: [StackTraceElement]): Unit
- Definition Classes
- Throwable
- def toString(): String
- Definition Classes
- Throwable → AnyRef → Any
Stream refs establish a connection between a local and remote actor, representing the origin and remote sides of a stream. Each such actor refers to the other side as its "partner". We make sure that no other actor than the initial partner can send demand/messages to the other side accidentally.
This exception is thrown when a message is received from a non-partner actor, which could mean a bug or some actively malicient behavior from the other side.
This is not meant as a security feature, but rather as plain sanity-check.