mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-02 22:04:24 +02:00
chore: Merge branch dev
to main
(#248)
This commit is contained in:
commit
2c4b88e1a0
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,3 +1,15 @@
|
|||||||
|
# [16.0.0-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.3...v16.0.0-dev.1) (2023-10-04)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Use correct super class type ([f590436](https://github.com/ReVanced/revanced-patcher/commit/f590436399f6385c51cea54618251b5d823c31f9))
|
||||||
|
|
||||||
|
|
||||||
|
### BREAKING CHANGES
|
||||||
|
|
||||||
|
* This changes the super classes of some `PatchOptionException` classes
|
||||||
|
|
||||||
## [15.0.3](https://github.com/ReVanced/revanced-patcher/compare/v15.0.2...v15.0.3) (2023-10-01)
|
## [15.0.3](https://github.com/ReVanced/revanced-patcher/compare/v15.0.2...v15.0.3) (2023-10-01)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
org.gradle.caching = true
|
org.gradle.caching = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 15.0.3
|
version = 16.0.0-dev.1
|
||||||
|
@ -371,15 +371,15 @@ public final class app/revanced/patcher/patch/options/PatchOptionException$Inval
|
|||||||
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
|
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patcher/patch/options/PatchOptionException$PatchOptionNotFoundException : java/lang/Exception {
|
public final class app/revanced/patcher/patch/options/PatchOptionException$PatchOptionNotFoundException : app/revanced/patcher/patch/options/PatchOptionException {
|
||||||
public fun <init> (Ljava/lang/String;)V
|
public fun <init> (Ljava/lang/String;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patcher/patch/options/PatchOptionException$ValueRequiredException : java/lang/Exception {
|
public final class app/revanced/patcher/patch/options/PatchOptionException$ValueRequiredException : app/revanced/patcher/patch/options/PatchOptionException {
|
||||||
public fun <init> (Lapp/revanced/patcher/patch/options/PatchOption;)V
|
public fun <init> (Lapp/revanced/patcher/patch/options/PatchOption;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patcher/patch/options/PatchOptionException$ValueValidationException : java/lang/Exception {
|
public final class app/revanced/patcher/patch/options/PatchOptionException$ValueValidationException : app/revanced/patcher/patch/options/PatchOptionException {
|
||||||
public fun <init> (Ljava/lang/Object;Lapp/revanced/patcher/patch/options/PatchOption;)V
|
public fun <init> (Ljava/lang/Object;Lapp/revanced/patcher/patch/options/PatchOption;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ sealed class PatchOptionException(errorMessage: String) : Exception(errorMessage
|
|||||||
* @param value The value that failed validation.
|
* @param value The value that failed validation.
|
||||||
*/
|
*/
|
||||||
class ValueValidationException(value: Any?, option: PatchOption<*>) :
|
class ValueValidationException(value: Any?, option: PatchOption<*>) :
|
||||||
Exception("The option value \"$value\" failed validation for ${option.key}")
|
PatchOptionException("The option value \"$value\" failed validation for ${option.key}")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An exception thrown when a value is required but null was passed.
|
* An exception thrown when a value is required but null was passed.
|
||||||
@ -29,7 +29,7 @@ sealed class PatchOptionException(errorMessage: String) : Exception(errorMessage
|
|||||||
* @param option The [PatchOption] that requires a value.
|
* @param option The [PatchOption] that requires a value.
|
||||||
*/
|
*/
|
||||||
class ValueRequiredException(option: PatchOption<*>) :
|
class ValueRequiredException(option: PatchOption<*>) :
|
||||||
Exception("The option ${option.key} requires a value, but null was passed")
|
PatchOptionException("The option ${option.key} requires a value, but null was passed")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An exception thrown when a [PatchOption] is not found.
|
* An exception thrown when a [PatchOption] is not found.
|
||||||
@ -37,5 +37,5 @@ sealed class PatchOptionException(errorMessage: String) : Exception(errorMessage
|
|||||||
* @param key The key of the [PatchOption].
|
* @param key The key of the [PatchOption].
|
||||||
*/
|
*/
|
||||||
class PatchOptionNotFoundException(key: String)
|
class PatchOptionNotFoundException(key: String)
|
||||||
: Exception("No option with key $key")
|
: PatchOptionException("No option with key $key")
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user