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

com.twitter.finagle.service.ResponseClassificationSyntheticException.scala Maven / Gradle / Ivy

The newest version!
package com.twitter.finagle.service

import com.twitter.util.NoStacktrace

/**
 * Used by [[com.twitter.finagle.param.ResponseClassifier response classification]]
 * to indicate synthetic failures that are not `Exceptions`.
 *
 * @see [[com.twitter.finagle.service.StatsFilter]]
 */
class ResponseClassificationSyntheticException private[finagle]()
  extends Exception
  with NoStacktrace {
  override def getMessage: String =
    "A synthetic ResponseClassification failure"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy