private static final class TransportResultFactory.TransportResultImpl extends java.lang.Object implements TransportResult
TransportResult.Status| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
_errorDescription |
private java.lang.Exception |
_exception |
private TransportResult.Status |
_status |
| Modifier | Constructor and Description |
|---|---|
private |
TransportResultImpl(TransportResult.Status status,
java.lang.String errorDescription,
java.lang.Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIsOk() |
java.lang.String |
getErrorDescription() |
java.lang.Exception |
getException() |
TransportResult.Status |
getStatus() |
boolean |
isOk() |
private final java.lang.String _errorDescription
private final TransportResult.Status _status
private final java.lang.Exception _exception
private TransportResultImpl(TransportResult.Status status, java.lang.String errorDescription, java.lang.Exception exception)
public boolean isOk()
isOk in interface TransportResultpublic TransportResult.Status getStatus()
getStatus in interface TransportResultpublic java.lang.String getErrorDescription()
getErrorDescription in interface TransportResultpublic java.lang.Exception getException()
getException in interface TransportResultpublic void checkIsOk()
checkIsOk in interface TransportResult