All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.stream.StreamDetachedException.scala Maven / Gradle / Ivy

/*
 * Copyright (C) 2015-2020 Lightbend Inc. 
 */

package akka.stream

import scala.util.control.NoStackTrace

/**
 * This exception signals that materialized value is already detached from stream. This usually happens
 * when stream is completed and an ActorSystem is shut down while materialized object is still available.
 */
final class StreamDetachedException(message: String) extends RuntimeException(message) with NoStackTrace {

  def this() = this("Stream is terminated. Materialized value is detached.")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy