Commit 81279631 authored by Ricki Hirner's avatar Ricki Hirner

Adapt exceptions

parent 2435e09a
Pipeline #9310706 canceled with stage
in 9 minutes and 55 seconds
......@@ -8,9 +8,4 @@
package at.bitfire.dav4android.exception;
open class DavException: Exception {
constructor(message: String?): super(message)
constructor(message: String?, throwable: Throwable): super(message, throwable)
}
open class DavException @JvmOverloads constructor(message: String, ex: Throwable? = null): Exception(message, ex)
\ No newline at end of file
......@@ -8,9 +8,4 @@
package at.bitfire.dav4android.exception
class InvalidDavResponseException: DavException {
constructor(message: String?): super(message)
constructor(message: String?, throwable: Throwable): super(message, throwable)
}
class InvalidDavResponseException(message: String, ex: Throwable? = null): DavException(message, ex)
\ No newline at end of file
......@@ -8,4 +8,4 @@
package at.bitfire.dav4android.exception
class UnsupportedDavException(message: String?) : DavException(message)
\ No newline at end of file
class UnsupportedDavException(message: String) : DavException(message)
\ No newline at end of file
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