library.Exceptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doip-sim-ecu-dsl Show documentation
Show all versions of doip-sim-ecu-dsl Show documentation
This is a kotlin based domain specific language (dsl), to quickly and intuitively write custom DoIP ECU simulations.
package library
import SimEcu
import kotlin.time.Duration
public abstract class DoipEntityHandledException(message: String) : RuntimeException(message)
public class DoipEntityHardResetException(
public val ecu: SimEcu,
public val duration: Duration, message: String
) : DoipEntityHandledException(message)
public class DisableServerSocketException(
public val duration: Duration
) : DoipEntityHandledException("Disabling server socket for ${duration.inWholeMilliseconds} ms")