validation types check null, validation error, exception