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

com.mle.android.exceptions.ExplainedHttpException.scala Maven / Gradle / Ivy

The newest version!
package com.mle.android.exceptions

/**
 *
 * @author mle
 */
abstract class ExplainedHttpException(content: Option[String], cause: Option[Throwable] = None)
  extends ExplainedException(content getOrElse "", cause) {
  def this(content: Option[String], cause: Throwable) = this(content, Some(cause))

  /**
   * @return an explanation of the problem that we can display to the user
   */
  def reason: String
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy