public class WriteResult extends Object
Modifier and Type | Field and Description |
---|---|
static WriteResult |
OK
A pre-existing OK result
|
Constructor and Description |
---|
WriteResult()
Create an "OK" result
|
WriteResult(Throwable error)
Create a result with error information
|
public static final WriteResult OK
public WriteResult()
public WriteResult(Throwable error)
error
- the error or null
if the result is "ok"public Throwable getError()
public boolean isError()
public boolean isSuccess()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.