spand
06/19/2019, 1:53 PMUndeclaredThrowableException
.
What are people doing instead ?elizarov
06/19/2019, 2:29 PMspand
06/19/2019, 2:41 PMinterface LocationFactory<T> {
fun frontpage() : T
fun specificPage(user: User) : T
}
We can then implement it for say Location
class once and have proxies for other types. I can come up with other ways to somewhat do this without proxies but we do this to optimize the readability at the many call sites of these functions.