* @return
* @throws SimalAPIException
*/
public static IAPIHandler createHandler(RESTCommand command)
throws SimalAPIException {
IAPIHandler handler = null;
if (command.isPersonCommand()) {
try {
handler = new PersonAPI(command);
} catch (SimalRepositoryException e) {
throw new SimalAPIException("Unable to create API handler", e);