Fix assert typo
Rename GS_NULLPTR to GS_NULL
Implement generic Exception class