Skip to content

Commit

Permalink
発生する可能性のあるExceptionを明記する
Browse files Browse the repository at this point in the history
  • Loading branch information
kitakkun committed Dec 18, 2023
1 parent e63e9bd commit 40a034d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
package com.github.kitakkun.backintime.runtime

import com.github.kitakkun.backintime.runtime.exception.BackInTimeRuntimeException
import kotlinx.serialization.SerializationException

interface DebuggableStateHolderManipulator {
@Throws(BackInTimeRuntimeException.NullValueNotAssignableException::class, BackInTimeRuntimeException.NoSuchPropertyException::class)
fun forceSetValue(propertyName: String, value: Any?)

@Throws(BackInTimeRuntimeException.NoSuchPropertyException::class, SerializationException::class)
fun serializeValue(propertyName: String, value: Any?): String

@Throws(BackInTimeRuntimeException.NoSuchPropertyException::class, SerializationException::class)
fun deserializeValue(propertyName: String, value: String): Any?
}

0 comments on commit 40a034d

Please sign in to comment.