public class InteractiveReplyWithErrorException extends InteractiveException
InteractiveError
is returned in the reply sent by the Interactive
service in response to a method request.InteractiveError
,
ReplyPacket
,
Serialized FormConstructor and Description |
---|
InteractiveReplyWithErrorException(MethodPacket request,
InteractiveError error)
Initializes a new
InteractiveReplyWithErrorException . |
Modifier and Type | Method and Description |
---|---|
InteractiveError |
getError()
Returns the
InteractiveError that was returned by the Interactive service. |
MethodPacket |
getRequest()
Returns the
MethodPacket representing the request that was sent by the client to the
Interactive service. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InteractiveReplyWithErrorException(MethodPacket request, InteractiveError error)
InteractiveReplyWithErrorException
.request
- MethodPacket
representing the request that was sent by the client to the
Interactive serviceerror
- InteractiveError
that was returned by the Interactive servicepublic MethodPacket getRequest()
MethodPacket
representing the request that was sent by the client to the
Interactive service.MethodPacket
representing the request that was sent by the client to the
Interactive servicepublic InteractiveError getError()
InteractiveError
that was returned by the Interactive service.InteractiveError
that was returned by the Interactive serviceCopyright © 2018. All rights reserved.