add correct Exception use statement

C. Fahner <christiaanenzo@gmail.com>
add correct Exception use statement

C. Fahner <christiaanenzo@gmail.com>
add option to call synchronize hook

C. Fahner <christiaanenzo@gmail.com>
implement onSync hook into ApiCall core/sync

C. Fahner <christiaanenzo@gmail.com>