it throws SchemaSerializationException, it aligns with what other methods are 
doing. it just makes `validate` to be reused in other methods like `encode` and 
`decode`. if we change it to return boolean or throw a checked exception, it 
requires more changes if validate is going to be used in other methods. 

however I am not strong on this, if you think it should return a boolean or 
throw a checked exception, let me know, I can make the change.

[ Full content available at: https://github.com/apache/pulsar/pull/2730 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to