validate abstract method
void
validate()
Validates the message before sending.
Throws an exception if the message is invalid.
Implementation
void validate();
Validates the message before sending.
Throws an exception if the message is invalid.
void validate();