This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
11 changes: 9 additions & 2 deletions
11
...p/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/QRCodeException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
package de.rki.coronawarnapp.eventregistration.checkins.qrcode | ||
|
||
sealed class QRCodeException constructor(message: String? = null) : Exception(message) | ||
sealed class QRCodeException constructor( | ||
message: String? = null, | ||
cause: Throwable? = null | ||
) : Exception(message, cause) | ||
|
||
class InvalidQrCodeUriException constructor(message: String? = null) : QRCodeException(message) | ||
class InvalidQrCodeDataException constructor(message: String? = null) : QRCodeException(message) | ||
|
||
class InvalidQrCodePayloadException constructor(message: String? = null) : QRCodeException(message) | ||
|
||
class InvalidQrCodeDataException constructor( | ||
message: String? = null, cause: Throwable? = null | ||
) : QRCodeException(message, cause) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters