EmergencyStop

Custom exception to be thrown when BunyipsLib should end the OpMode following a critical error. This ensures the Exceptions handler will be called but also allows the OpMode to be ended immediately.

To ensure no code can run and to immediately transition to stop with no stacktrace, throw the OpModeManagerImpl.ForceStopException or call the relevant terminate method.

Author

Lucas Bubner, 2024

Since

1.0.0-pre

Constructors

Link copied to clipboard
constructor(message: String)

Emergency stop and bypass the Exceptions handler.

constructor(message: String, cause: Throwable?)

Emergency stop and bypass the Exceptions handler.

Inherited properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard