Skip to content

Commit fb1b08c

Browse files
author
Standa
committed
makes exceptions open
1 parent 896b804 commit fb1b08c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apollo-service/src/main/java/com/qusion/apolloservice/exceptions/NetworkExceptions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package com.qusion.apolloservice.exceptions
22

33
/** Added as a cause when there are "business" errors from the response of the endpoint
44
* (e.g. wrong password or username) */
5-
class BusinessException(override val message: String?) : Exception(message)
5+
open class BusinessException(override val message: String?) : Exception(message)
66

77
/** Thrown by the http interceptor when there is 401 from the server */
88
open class ExpiredSidException(override val message: String?) : Exception(message)
99

1010
/** Thrown by ApolloService when refresh token mutation fails */
11-
class ForceLogoutException(code: String) : ExpiredSidException(code)
11+
open class ForceLogoutException(code: String) : ExpiredSidException(code)

0 commit comments

Comments
 (0)