Class ErrorResponse (0.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass ErrorResponseextendsWireOutputSends error information back to client.
Inherited Members
Constructors
ErrorResponse(DataOutputStream output, Exception e, ErrorResponse.State errorState)
publicErrorResponse(DataOutputStreamoutput,Exceptione,ErrorResponse.StateerrorState) Name
Description
ErrorResponse(DataOutputStream output, Exception e, ErrorResponse.State errorState, ErrorResponse.Severity severity)
publicErrorResponse(DataOutputStreamoutput,Exceptione,ErrorResponse.StateerrorState,ErrorResponse.Severityseverity) Name
Description
Methods
getIdentifier()
publicbytegetIdentifier()Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.
Type
Description
Overrides
getMessageName()
protectedStringgetMessageName()Used for logging.
Type
Description
Overrides
getPayloadString()
protectedStringgetPayloadString()Used for logging.
Type
Description
Overrides
sendPayload()
protectedvoidsendPayload()Override this method to include post-processing and metadata in the sending process. Template method for send.
Type
Description