@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 to wrap a new Abort operation to the graph.
|
static Abort.Options |
errorMsg(String errorMsg) |
static Abort.Options |
exitWithoutError(Boolean exitWithoutError) |
equals, hashCode, toStringpublic static Abort create(Scope scope, Abort.Options... options)
scope - current graph 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 © 2015–2019. All rights reserved.