Using constant for idType and combine Exception into one line.