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

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

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

package akka.stream

import scala.util.control.NoStackTrace

/**
 * This exception signals that the maximum number of substreams declared has been exceeded.
 * A finite limit is imposed so that memory usage is controlled.
 */
final class TooManySubstreamsOpenException
    extends IllegalStateException("Cannot open a new substream as there are too many substreams open")
    with NoStackTrace {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy