[data] Add documentation
[data] Allow the handler to throw exception