public class ResultData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultData.ResultState
Result state.
|
| Constructor and Description |
|---|
ResultData(int count)
Create new result data.
|
ResultData(ResultData.ResultState state)
Create new result data.
|
ResultData(ResultData.ResultState state,
Exception caught)
Create new result data.
|
ResultData(ResultData.ResultState state,
Exception caught,
int count)
Create new result data.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getCaught()
Get the caught exception.
|
int |
getCount()
Get the number of transfered lines.
|
ResultData.ResultState |
getState()
Get the result state.
|
public ResultData(ResultData.ResultState state)
state - The result statepublic ResultData(ResultData.ResultState state, Exception caught)
state - The result statecaught - The caught exceptionpublic ResultData(int count)
count - The number of transfered linespublic ResultData(ResultData.ResultState state, Exception caught, int count)
state - The result statecaught - The caught exception if any else null. Always null if result state is SUCCESScount - The number of transfered lines. Always zero if result state is other than SUCCESSpublic final ResultData.ResultState getState()
public final Exception getCaught()
public final int getCount()
Copyright © 2019. All rights reserved.