Package org.apache.pekko.stream
Class InvalidPartnerActorException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- java.lang.IllegalStateException
- 
- org.apache.pekko.stream.InvalidPartnerActorException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- scala.Equals,- scala.Product
 
 public final class InvalidPartnerActorException extends java.lang.IllegalStateException implements scala.Product, java.io.SerializableStream 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. - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description InvalidPartnerActorException(ActorRef expectedRef, ActorRef gotRef, java.lang.String msg)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidPartnerActorExceptionapply(ActorRef expectedRef, ActorRef gotRef, java.lang.String msg)booleancanEqual(java.lang.Object x$1)InvalidPartnerActorExceptioncopy(ActorRef expectedRef, ActorRef gotRef, java.lang.String msg)ActorRefcopy$default$1()ActorRefcopy$default$2()java.lang.Stringcopy$default$3()booleanequals(java.lang.Object x$1)ActorRefexpectedRef()ActorRefgotRef()inthashCode()java.lang.Stringmsg()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()static java.lang.StringtoString()static scala.Option<scala.Tuple3<ActorRef,ActorRef,java.lang.String>>unapply(InvalidPartnerActorException x$0)- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
toStringpublic static final java.lang.String toString() 
 - 
applypublic static InvalidPartnerActorException apply(ActorRef expectedRef, ActorRef gotRef, java.lang.String msg) 
 - 
unapplypublic static scala.Option<scala.Tuple3<ActorRef,ActorRef,java.lang.String>> unapply(InvalidPartnerActorException x$0) 
 - 
expectedRefpublic ActorRef expectedRef() 
 - 
gotRefpublic ActorRef gotRef() 
 - 
msgpublic java.lang.String msg() 
 - 
copypublic InvalidPartnerActorException copy(ActorRef expectedRef, ActorRef gotRef, java.lang.String msg) 
 - 
copy$default$1public ActorRef copy$default$1() 
 - 
copy$default$2public ActorRef copy$default$2() 
 - 
copy$default$3public java.lang.String copy$default$3() 
 - 
productPrefixpublic java.lang.String productPrefix() - Specified by:
- productPrefixin interface- scala.Product
 
 - 
productAritypublic int productArity() - Specified by:
- productArityin interface- scala.Product
 
 - 
productElementpublic java.lang.Object productElement(int x$1) - Specified by:
- productElementin interface- scala.Product
 
 - 
productIteratorpublic scala.collection.Iterator<java.lang.Object> productIterator() - Specified by:
- productIteratorin interface- scala.Product
 
 - 
canEqualpublic boolean canEqual(java.lang.Object x$1) - Specified by:
- canEqualin interface- scala.Equals
 
 - 
productElementNamepublic java.lang.String productElementName(int x$1) - Specified by:
- productElementNamein interface- scala.Product
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object x$1) - Specified by:
- equalsin interface- scala.Equals
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-