https://kotlinlang.org logo
c

christophsturm

06/21/2017, 2:08 PM
i want to define an exception, inheriting from runtime exception, and i want two constructors, one with a cause and one without. how can i do that in kotlin, it expects my secondary constructor to call the primary constructor, but i just want to call the super constructor