Commit a138c452 authored by Ricki Hirner's avatar Ricki Hirner 🐑
Browse files

Add GoneException, lower required commons-lang3 dependency

parent 40b4207e
Pipeline #205075204 passed with stages
in 3 minutes and 51 seconds
......@@ -37,7 +37,7 @@ dependencies {
implementation(kotlin("stdlib"))
api("com.squareup.okhttp3:okhttp:${Libs.okhttpVersion}")
implementation("org.apache.commons:commons-lang3:3.9")
implementation("org.apache.commons:commons-lang3:3.8.1") // last version that doesn't require Java 8
api("org.ogce:xpp3:${Libs.xpp3Version}")
testImplementation("com.squareup.okhttp3:mockwebserver:${Libs.okhttpVersion}")
......
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
class GoneException: HttpException {
constructor(response: Response): super(response)
constructor(message: String?): super(HttpURLConnection.HTTP_GONE, message)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment