@Operator public final class Abort extends PrimitiveOp
If exit_without_error is true, the process will exit normally, otherwise it will exit with a SIGABORT signal.
Returns nothing but an exception.
Modifier and Type | Class and Description |
---|---|
static class |
Abort.Options
Optional attributes for
Abort |
operation
Modifier and Type | Method and Description |
---|---|
static Abort |
create(Scope scope,
Abort.Options... options)
Factory method to create a class wrapping a new Abort operation.
|
static Abort.Options |
errorMsg(String errorMsg) |
static Abort.Options |
exitWithoutError(Boolean exitWithoutError) |
equals, hashCode, op, toString
public static Abort create(Scope scope, Abort.Options... options)
scope
- current scopeoptions
- carries optional attributes valuespublic static Abort.Options errorMsg(String errorMsg)
errorMsg
- A string which is the message associated with the exception.public static Abort.Options exitWithoutError(Boolean exitWithoutError)
exitWithoutError
- Copyright © 2022. All rights reserved.