Class PeerEventingServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hyperledger.fabric.sdk.exception.BaseException
org.hyperledger.fabric.sdk.exception.TransactionException
org.hyperledger.fabric.sdk.exception.PeerEventingServiceException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPeerEventingServiceException(String message) PeerEventingServiceException(String message, Throwable parent) -
Method Summary
Modifier and TypeMethodDescriptionorg.hyperledger.fabric.protos.peer.EventsPackage.DeliverResponsegetResp()If response from the Peer's error is received return it.longvoidsetResponse(org.hyperledger.fabric.protos.peer.EventsPackage.DeliverResponse resp) voidsetTimedOut(long peerEventRegistrationWaitTimeMilliSecs) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PeerEventingServiceException
-
PeerEventingServiceException
-
PeerEventingServiceException
-
-
Method Details
-
getTimedOut
public long getTimedOut()- Returns:
- if timed out the time that was waited; otherwise, -1
-
getResp
public org.hyperledger.fabric.protos.peer.EventsPackage.DeliverResponse getResp()If response from the Peer's error is received return it.- Returns:
- Response error from peer if received otherwise null.
-
setResponse
public void setResponse(org.hyperledger.fabric.protos.peer.EventsPackage.DeliverResponse resp) -
setTimedOut
public void setTimedOut(long peerEventRegistrationWaitTimeMilliSecs)
-