Modifier and Type | Method and Description |
---|---|
B |
withStop()
Builder method for the
Stoppable.stop() method. |
default B |
withStopUnchecked()
Stops the component by calling
withStop() without you to
require catching an StopException . |
B withStop() throws StopException
Stoppable.stop()
method.StopException
- Thrown in case stopping fails.default B withStopUnchecked()
withStop()
without you to
require catching an StopException
.StopException.StopRuntimeException
- encapsulates the cause and is thrown
upon encountering a StopException
exceptionCopyright © 2018. All rights reserved.