Apache Pekko 2.0.0-M3+221-e044562d-SNAPSHOT - org.apache.pekko.PekkoException Apache Pekko2.0.0-M3+221-e044562d-SNAPSHOT < Back  Packages  package root Definition Classesroot  package org Definition Classesroot  package apache Definition Classesorg  package pekko Definition Classesapache  package actor Definition Classespekko  package annotation Definition Classespekko  package cluster Definition Classespekko  package coordination Definition Classespekko  package discovery Definition Classespekko  package dispatch Definition Classespekko  package event Definition Classespekko  package io Definition Classespekko  package japi Definition Classespekko  package osgi Definition Classespekko  package pattern This package is used as a collection point for usage patterns which involve actors, futures, etc. Commonly Used Patterns With Pekko This package is used as a collection point for usage patterns which involve actors, futures, etc. but are loosely enough coupled to (multiple of) them to present them separately from the core implementation. Currently supported are: ask: create a temporary one-off actor for receiving a reply to a message and complete a scala.concurrent.Future with it; returns said Future. pipeTo: feed eventually computed value of a future to a org.apache.pekko.actor.ActorRef as a message. pipeToSelection: feed eventually computed value of a future to a org.apache.pekko.actor.ActorSelection as a message. In Scala the recommended usage is to import the pattern from the package object: import org.apache.pekko.pattern.ask ask(actor, message) // use it directly actor ask message // use it by implicit conversion For Java the patterns are available as static methods of the org.apache.pekko.pattern.Patterns class: import static org.apache.pekko.pattern.Patterns.ask; ask(actor, message);Definition Classespekko  package persistence Definition Classespekko  package pki Definition Classespekko  package remote Definition Classespekko  package routing Definition Classespekko  package serialization Definition Classespekko  package stream Definition Classespekko  package testkit Definition Classespekko  package util Definition Classespekko ConfigurationException Done NotUsed OnlyCauseStackTrace PekkoException PekkoVersion UnsupportedPekkoVersion Version c org.apache.pekkoPekkoException class PekkoException extends RuntimeException with Serializable Pekko base Exception. Annotations@SerialVersionUID() SourcePekkoException.scala Linear Supertypes RuntimeException, Exception, Throwable, Serializable, AnyRef, Any Known Subclasses ConfigurationException, ActorInitializationException, ActorInterruptedException, ActorKilledException, DeathPactException, IllegalActorStateException, InvalidActorNameException, InvalidMessageException, PostRestartException, PreRestartException, StashOverflowException, SerializationCheckFailedException, ClusterSingletonManagerIsStuck, LoggerException, LoggerInitializationException, CircuitBreakerOpenException, AsyncReplayTimeoutException, RemoteTransportException, RemoteTransportExceptionNoStackTrace, PekkoProtocolException, InvalidAssociationException, ResizerInitializationException, ResendBufferCapacityReachedException, ResendUnfulfillableException, FailureInjectorException Type Hierarchy  Ordering Alphabetic By Inheritance Inherited PekkoException RuntimeException Exception Throwable Serializable AnyRef Any Implicitly by any2stringadd by StringFormat by Ensuring by ArrowAssoc Hide All Show All Visibility Public Protected Instance Constructors  new PekkoException(msg: String)  new PekkoException(message: String, cause: Throwable) Value Members  final def !=(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def ##: Int Definition ClassesAnyRef → Any  def +(other: String): String ImplicitThis member is added by an implicit conversion from PekkoException toany2stringadd[PekkoException] performed by method any2stringadd in scala.Predef.Definition Classesany2stringadd  def ->[B](y: B): (PekkoException, B) ImplicitThis member is added by an implicit conversion from PekkoException toArrowAssoc[PekkoException] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@inline()  final def ==(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def addSuppressed(arg0: Throwable): Unit Definition ClassesThrowable  final def asInstanceOf[T0]: T0 Definition ClassesAny  def clone(): AnyRef Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()  def ensuring(cond: (PekkoException) => Boolean, msg: => Any): PekkoException ImplicitThis member is added by an implicit conversion from PekkoException toEnsuring[PekkoException] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: (PekkoException) => Boolean): PekkoException ImplicitThis member is added by an implicit conversion from PekkoException toEnsuring[PekkoException] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean, msg: => Any): PekkoException ImplicitThis member is added by an implicit conversion from PekkoException toEnsuring[PekkoException] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean): PekkoException ImplicitThis member is added by an implicit conversion from PekkoException toEnsuring[PekkoException] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  final def eq(arg0: AnyRef): Boolean Definition ClassesAnyRef  def equals(arg0: AnyRef): Boolean Definition ClassesAnyRef → Any  def fillInStackTrace(): Throwable Definition ClassesThrowable  def getCause(): Throwable Definition ClassesThrowable  final def getClass(): Class[_ <: AnyRef] Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  def getLocalizedMessage(): String Definition ClassesThrowable  def getMessage(): String Definition ClassesThrowable  def getStackTrace(): Array[StackTraceElement] Definition ClassesThrowable  final def getSuppressed(): Array[Throwable] Definition ClassesThrowable  def hashCode(): Int Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  def initCause(arg0: Throwable): Throwable Definition ClassesThrowable  final def isInstanceOf[T0]: Boolean Definition ClassesAny  final def ne(arg0: AnyRef): Boolean Definition ClassesAnyRef  final def notify(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  final def notifyAll(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  def printStackTrace(arg0: PrintWriter): Unit Definition ClassesThrowable  def printStackTrace(arg0: PrintStream): Unit Definition ClassesThrowable  def printStackTrace(): Unit Definition ClassesThrowable  def setStackTrace(arg0: Array[StackTraceElement]): Unit Definition ClassesThrowable  final def synchronized[T0](arg0: => T0): T0 Definition ClassesAnyRef  def toString(): String Definition ClassesThrowable → AnyRef → Any  final def wait(arg0: Long, arg1: Int): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException])  final def wait(arg0: Long): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) @native()  final def wait(): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) Deprecated Value Members  def finalize(): Unit Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.Throwable]) @Deprecated Deprecated (Since version 9)  def formatted(fmtstr: String): String ImplicitThis member is added by an implicit conversion from PekkoException toStringFormat[PekkoException] performed by method StringFormat in scala.Predef.Definition ClassesStringFormatAnnotations@deprecated @inline() Deprecated (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.  def →[B](y: B): (PekkoException, B) ImplicitThis member is added by an implicit conversion from PekkoException toArrowAssoc[PekkoException] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@deprecated Deprecated (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code. Inherited from RuntimeException Inherited from Exception Inherited from Throwable Inherited from Serializable Inherited from AnyRef Inherited from Any Inherited by implicit conversion any2stringadd fromPekkoException to any2stringadd[PekkoException] Inherited by implicit conversion StringFormat fromPekkoException to StringFormat[PekkoException] Inherited by implicit conversion Ensuring fromPekkoException to Ensuring[PekkoException] Inherited by implicit conversion ArrowAssoc fromPekkoException to ArrowAssoc[PekkoException] Ungrouped