c

akka.stream

InvalidPartnerActorException

final case class InvalidPartnerActorException(expectedRef: ActorRef, gotRef: ActorRef, msg: String) extends IllegalStateException with Product with Serializable

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.

Source
StreamRefs.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InvalidPartnerActorException
  2. Product
  3. Equals
  4. IllegalStateException
  5. RuntimeException
  6. Exception
  7. Throwable
  8. Serializable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InvalidPartnerActorException(expectedRef: ActorRef, gotRef: ActorRef, msg: String)

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. val expectedRef: ActorRef
  3. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  4. def getCause(): Throwable
    Definition Classes
    Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. def getMessage(): String
    Definition Classes
    Throwable
  7. def getStackTrace(): [StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): [Throwable]
    Definition Classes
    Throwable
  9. val gotRef: ActorRef
  10. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  11. val msg: String
  12. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  13. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  14. def printStackTrace(): Unit
    Definition Classes
    Throwable
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. def setStackTrace(arg0: [StackTraceElement]): Unit
    Definition Classes
    Throwable
  17. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any