This is an automated email from the ASF dual-hosted git repository. hepin pushed a commit to branch AbruptIOTerminationException in repository https://gitbox.apache.org/repos/asf/pekko.git
commit 3c37283079a59b14c9d313a96d07c5da133df8ee Author: He-Pin <[email protected]> AuthorDate: Sat Aug 23 18:55:33 2025 +0800 chore: Remove AbruptIOTerminationException --- .../remove-deprecated-methods.excludes | 2 ++ stream/src/main/scala/org/apache/pekko/stream/IOResult.scala | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/stream/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes b/stream/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes index 0bb9dd22ea..ab1af93ced 100644 --- a/stream/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes +++ b/stream/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes @@ -185,3 +185,5 @@ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.stream.stag ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.stream.stage.OutHandler.onDownstreamFinish") ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.stream.stage.TimerGraphStageLogic.schedulePeriodicallyWithInitialDelay") ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.stream.stage.TimerGraphStageLogic.schedulePeriodically") +ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.stream.AbruptIOTerminationException") +ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.stream.AbruptIOTerminationException$") diff --git a/stream/src/main/scala/org/apache/pekko/stream/IOResult.scala b/stream/src/main/scala/org/apache/pekko/stream/IOResult.scala index 291af24a5d..4e0e68a20a 100644 --- a/stream/src/main/scala/org/apache/pekko/stream/IOResult.scala +++ b/stream/src/main/scala/org/apache/pekko/stream/IOResult.scala @@ -14,7 +14,6 @@ package org.apache.pekko.stream import scala.util.{ Failure, Success, Try } -import scala.util.control.NoStackTrace import org.apache.pekko import pekko.Done @@ -73,15 +72,6 @@ object IOResult { new IOResult(count, Failure(ex)) } -/** - * This exception signals that a stream has been completed by an onError signal - * while there was still IO operations in progress. - */ -@deprecated("use IOOperationIncompleteException", "Akka 2.6.0") -final case class AbruptIOTerminationException(ioResult: IOResult, cause: Throwable) - extends RuntimeException("Stream terminated without completing IO operation.", cause) - with NoStackTrace - /** * This exception signals that a stream has been completed or has an error while * there was still IO operations in progress --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
